Mmm ok... I haven't done anything with JSON before. Is there a way to
invoke something like

Json.deserialized(chart.getState()) or
chart.getState().toString(); or
while (chart.getState()[i] is not null) console.log(chart.getState()
[i]); i++;

from the examples I found online, it lookes like you needed to know
the original structure of the serialization in order to deserialized.


What I am trying to accomplish is to have a "default" [x-axis]
selection[order] for the bubble and a different for the bar graph.
something like this example 
http://code.google.com/apis/chart/interactive/docs/gallery/motionchart.html

Right now I have it setup so it Starts with a bar graph  with x-axis
order alphabetical. If I change to bubble stays alphabetical. I would
like it to change to Time when I click bubbles, and alphabetical when
I click bars.

I hope it makes sense.

Thank you...

-C

On Oct 3, 3:34 pm, asgallant <[email protected]> wrote:
> Since the getState() method returns a serialized JSON string, the if
> statement: if(!chart.getState()) will evaluate to true only if the
> getState() method is returning null, so the subsequent alert(chart.getState(
> )); call will never show anything other than null.

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