Hi Unfortunately we currently do not expose the default colors array programmatically, although we are considering doing it.
Here are the first 10 colors for your convenience: ['#3366CC', '#DC3912', '#FF9900', '#109618', '#990099', '#0099C6', '#DD4477', '#66AA00', '#B82E2E', '#316395'] Best, Viz Kid On Fri, Feb 25, 2011 at 10:09 AM, Henk <[email protected]> wrote: > Is there any possibility to get the used barcolor for a bar in the > chart? > > I have column c1, c2, c3 > > If I display everything it is colored: > > c1: blue, > c2: red > c3: orange > > My problem is that If I change the view to display only c2 and c3, the > colors get mixed up: > > c2: bleu (was red) > c3: red (was orange) > > It starts always colloring based on the columnposition in the dataView > and not in the dataTable. > > I want the colors to stay stable, based on the position in the > dataTable. I'm fine with the google colors and would like to leave > them to default. Any ideas how I could get the array of google colors? > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > 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. > > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. 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.
