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.

Reply via email to