Thanks for remember this, Andrew. Gonna give a try. On Thursday, September 4, 2014 11:00:10 PM UTC-3, Andrew Gallant wrote: > > In case you are still looking for a solution, I found a way to do this > that actually works properly using the "style" column role to color the > bars without having to go through the process of building the array of > colors: http://jsfiddle.net/asgallant/axr7h/8/ > > On Tuesday, May 20, 2014 8:12:48 PM UTC-4, Khrys wrote: >> >> Thanks again Andrew. >> >> Maybe if someone from google viz could give us some more detail on this. >> With your help I can see it is not trustable to use this chart the way I >> was expecting. First it is not possible to set the height in %, now this >> situation with the colors, : ( >> >> Thanks again for your time. >> >> >> On Tuesday, May 20, 2014 6:29:06 PM UTC-3, Andrew Gallant wrote: >>> >>> The Timeline might be sorting the data by start date before assigning >>> colors. When I applied a sort to the DataTable, it looks more correct, but >>> I don't think it's quite right still: >>> http://jsfiddle.net/asgallant/axr7h/6/. If you change the column used >>> to sort, you can clearly see the effect it has on the chart. The >>> documentation on the Timeline is quite ambiguous as to how the colors are >>> actually applied (it says they are applied to bars "in order", but how the >>> bars are ordered is left out). >>> >>> On Tuesday, May 20, 2014 4:14:31 PM UTC-4, Khrys wrote: >>>> >>>> Andrew helps me set colors for category in timeline chart (thanks again >>>> o/). I was testing and found a weird behavior. For example, the itens >>>> starting with T should always be black because all have the CategoryA, but >>>> this isn't happening: >>>> >>>> http://jsfiddle.net/Khrys/axr7h/5/ >>>> >>>> Thanks for the help. >>>> >>>
-- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
