Can you please double check?It seems to be working for us.

If still not, can you please provide some more details (browser, os).


Thanks,
VizGuy

On Sun, Apr 19, 2009 at 2:55 PM, alisq <[email protected]> wrote:

>
> Hi guys,
>
> I saw in the Google Visualization API Release Notes for April 6, 2009
> that the getState bug has been fixed while I still see the same error
> message "Error: this.q().getState is not a function". When loading the
> google API, does it load the latest release by default? In the
> "Advanced" settings option, I still see the build date to be Wed Feb
> 11, 2009! Shouldn't this be Apr 6?
>
> this is my code for loading the motionchart:
>
> google.load('visualization', '1', {'packages':['motionchart']});
>
> Your help is highly appreciated, many thanks.
>
> On Feb 27, 10:12 pm, VizBoy <[email protected]> wrote:
> > Sounds like a bug..
> > Thanks for reporting. We will work on it.
> >
> > - VizBoy.
> >
> > On Fri, Feb 27, 2009 at 8:07 AM, Otis <[email protected]
> >wrote:
> >
> >
> >
> >
> >
> > > I am using the motionchart visualization to display data.  I need to
> > > capture selection information to enable drill down functionality.  The
> > > documentation for motionchart shows no select event, but there is a
> > > getState() method described as:
> >
> > > "Returns the current state of the motionchart serialized to a JSON
> > > string. This string can be used as an initial state when displaying
> > > the chart by calling draw()."
> >
> > > However, any call to the "getState()" function results in an error:
> > > "this.s().L is not a function"
> >
> > > Turns out that this.s() returns an empty string and the javascript
> > > function that is called is trying to return this.s().L()
> >
> > > This error can be easily reproduced on the ajax playground site:
> >
> > >http://code.google.com/apis/ajax/playground/?type=visualization#motio.
> ..
> >
> > > Change the text in the edit window to:
> >
> > > function drawVisualization() {
> > >      var mchart = new google.visualization.Query(
> > >          'http://spreadsheets.google.com/tq?key=pCQbetd-
> > > CptE1ZQeQk8LoNw<
> http://spreadsheets.google.com/tq?key=pCQbetd-%0ACptE1ZQeQk8LoNw>
> > > ').send(
> > >          function(response) {
> > >            var mchart = new google.visualization.MotionChart(
> > >                document.getElementById('visualization'));
> > >                mchart.draw(response.getDataTable(), {'width': 800,
> > > 'height': 400});
> > >                alert(mchart.getState());
> > >          });
> > >    }
> >
> > > Any help is greatly appreciated!- Hide quoted text -
> >
> > - Show quoted text -
>
> >
>

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