Hello.
To answer your questions, currently there's no way to start and stop a
playback, but it is an oft requested feature, so we will look at expanding
our API.
To catch the state variable, install an event listener with:
google.visualization.events.addListener(motionchart, 'statechange',
function() { /* etc */ });
On Monday, June 10, 2013 11:49:30 AM UTC-4, [email protected] wrote:
>
> Hello, I'd like to know if its possible to force some stops in time
> slider, for example, when pressing "play" it will run and stop in
> 01/01/2013 (dd/mm/yyyy), next play will make it run till 01/02/2013 and so
> on,
>
> Another cuestion, how can I catch "statechange" event from Javascript? I
> can't find any axample, I can find how to create a new instance:
>
> var chart = new
> google.visualization.MotionChart(document.getElementById('chart_div'));
>
> But, how to find previous instance and bind a "statechange" function?
>
> Thank you
>
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.