Dear All,
I'm working on a motionchart, and i would like to get the "iconType"
property from the actual state of the chart if it changed. My code is the
following:
google.visualization.events.addListener(motionchart, 'statechange',
statechangeHandler);
function statechangeHandler() {
var my_state=JSON.parse(motionchart.getState());
console.debug(my_state.iconType);
};
Its not working, however if I ask just for the "my_state" object, then i
can see all of the properties on the console.
Please help me, thanks a lot!
regards,
gallusz
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/IJ290wkJzk0J.
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.