Hi If you look at the motionchart docs Events section you would see that the before any interaction with the chart you should first wait for the 'ready' event. Before that the chart's state is undefined.
I will try to clarify this better in the docs. ChartMan On Wed, Mar 31, 2010 at 9:13 AM, indianajorge <[email protected]>wrote: > Hi > > In code playground, using Mozilla 5.0 and the defauld motionchart > script (http://code.google.com/apis/ajax/playground/? > type=visualization#motion_chart), adding > > "alert(motionchart.getState());" > > at the end of the script. > > thank you, > J > > On Mar 30, 8:36 pm, ChartMan <[email protected]> wrote: > > Hi > > > > I am not able to reproduce the bug. > > Can you create a small example. > > > > Thanks > > ChartMan > > > > On Tue, Mar 30, 2010 at 1:27 PM, indianajorge <[email protected] > >wrote: > > > > > Hello all, > > > > > I'm having problems extracting the current state of a motion chart > > > object. > > > > > the call motionChartObject.getState(), throws the exception: > > > > > Error: this.n().getState is not a function > > > Archivo de origen: > > > > >http://www.google.com/uds/api/visualization/1.0/03537a5e2d997d1731ec0. > .. > > > LĂnea: 633 > > > > > Is this normal? weren't we suposed to be able to get the state string > > > this way? > > > > > Thank you, > > > Jorge > > > > > -- > > > 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]<google-visualization-api%[email protected]> > <google-visualization-api%[email protected]<google-visualization-api%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-visualization-api?hl=en. > > -- > 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]<google-visualization-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > > -- 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.
