>From the docs the 'state' option is a string that contains an object definition. Try putting quotes around your object definition.
On Feb 20, 6:29 pm, pzbrawl <[email protected]> wrote: > var chart = new > google.visualization.MotionChart(document.getElementById('chart_div')); > var options = {}; > options['width'] = 800; > options['height'] = 500; > options['state'] = {'colorOption':'_UNIQUE_COLOR'}; > chart.draw(data, options); > > The chart paints at the specified size, but it ignores > {'colorOption':'_UNIQUE_COLOR'}. What do I have to do to make > colorOption work? Thanks. -- 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.
