I believe the chart repeats the array's contents as many times as is necessary to color all the series, so using "colors: ['red', 'green', 'blue']" with 4 series would result in the first and fourth data series being red (as I recall, anyway; it is easy to test to verify).
On Wednesday, June 20, 2012 4:46:46 PM UTC-4, Benjamin Press wrote: > > What if you assign fewer colors than columns? > > On Thursday, 28 July 2011 08:32:02 UTC-5, asgallant wrote: >> >> AFAIK, there isn't anything in the charts that lets you get the column >> colors. The best you can do is assign colors to the chart series manually >> and extrapolate based on that. Ex: if you set your colors option to >> "colors: ['red', 'green', 'blue']" then column 0 is always red, regardless >> of how many columns you have in total. If you assign more colors than >> columns, the extras are ignored. > > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/mg2zxq7TSFEJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
