Hi Laurent, Put the colors in a string array, like this: colors: ['red', 'green', 'yellow']
Also see: http://code.google.com/apis/visualization/documentation/gallery/barchart.html#Configuration_Options Cheers, VizWiz On Tue, Jun 16, 2009 at 12:52 PM, Laurent Borensky < [email protected]> wrote: > > Hi, > > I want to change the color bars with the argument given to the > primitive "chart.draw(arg1, arg2)". I do not know the syntax for > colors with more colors of arg2. > > arg2={width: 400, height: 240, is3D: true, colors: 'red', 'green', > 'yellox', title: 'DC (fr)'}; // = KO > > Thank you for your help. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
