Hi Guys, Sorry I took a couple of days off. I'm back. :) I tried inserting the the function right in the listener, but I still get the chart.getState null. What I find estrange is that I have that I have IF ( char.getState is not null) then alert message and I when the message popups it says :null. Any thought?
Thank you, -Cristian On Sep 29, 3:12 pm, asgallant <[email protected]> wrote: > chart isn't in scope for your selectHandler function. Try passing the > function directly: > > google.visualization.events.addListener(chart, 'statechange', function() { > if(!chart.getState()) { > alert(chart.getState()); > } > > > > > > > > }); -- 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.
