Following the instructions in
http://code.google.com/apis/chart/interactive/docs/gallery/motionchart.html#Motion_Chart_initial_state,
I configured the motion chart as desired and copied the state string
from the Advanced settings panel.  When I attempt to use this state
for my chart, it is ignored.

The only non-default options I'm trying to set are:
 - using the same color for all bubbles. ("colorOption":"_UNICOLOR")
 - setting a log scale for the x axis. ("xLambda":0 ?)

Am I doing something wrong here?  The width & height I'm setting are
being used, but as far as I can tell all the 'state' options are being
disregarded.

var options = {}
options['width'] = 1200;
options['height'] = 800;
options['state'] = {"xZoomedDataMax":845000000,"dimensions":
{"iconDimensions":
["dim0"]},"colorOption":"_UNICOLOR","showTrails":true,"sizeOption":"5","xZoomedIn":false,"xLambda":
0,"yZoomedDataMin":0,"yAxisOption":"3","yZoomedDataMax":
993,"orderedByX":false,"iconType":"BUBBLE","iconKeySettings":
[],"duration":{"timeUnit":"W","multiplier":1},"xZoomedDataMin":
0,"yLambda":1,"orderedByY":false,"nonSelectedAlpha":
0.4,"time":"2007-12-24","uniColorForNonSelected":false,"yZoomedIn":false,"xAxisOption":"2","playDuration":
15000};

var chart = new
google.visualization.MotionChart(document.getElementById('chart_div'));
chart.draw(chart_data, options);

thanks,
alex

-- 
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.

Reply via email to