You can only color data by series. If you want different colors for bars, you have to assign those values to different series, which can be handled with a DataView using calculated columns. You then need to set the "isStacked" option to true and draw the chart based on the DataView. I wrote a demo script for this that you can base your's off of: http://jsfiddle.net/asgallant/QHJA6/
On Tuesday, August 7, 2012 12:30:11 PM UTC-4, Lumière wrote: > > I also tried this: > colors: ['black','blue','white','blue','blue','blue','blue'] > > But none of the above work. > -- 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/-/LN_BeWpKZEoJ. 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.
