To set the initial state, you need to set the "state" option in the
MotionChart. The state option takes a JSON string representation of a
javascript object:
var chart = new
google.visualization.MotionChart(document.querySelector('#motion_chart_div'));
chart.draw(data, {
height: 400,
width: 600,
state: '<state string>'
});
On Wednesday, August 28, 2013 12:16:01 PM UTC-4, JPrize wrote:
>
> Hi, did you ever figure this out? I'm struggling with the same issue. I
>> got the initial state string but the various places I've tried putting in
>> the publishing code haven't worked.
>>
>>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.