Events on explore (zoom in, zoom out, right click etc.

30 views
Skip to first unread message

Richard G

unread,
Jun 30, 2016, 4:59:32 AM6/30/16
to Google Visualization API
Is there anyway of getting an event generated when a user has zoomed in on a line chart using the explore option?

I have two charts and wish to zoom both charts together no matter which one the user is zooming, this would also require a method to set the current zoom on a chart.

Thanks

Richard


Daniel LaLiberte

unread,
Jun 30, 2016, 9:20:00 AM6/30/16
to Google Visualization API
Events during zooming would make a lot of sense.  But you should be able to get 'ready' events now and detect where the chart is positioned using getChartLayoutInterface() and associated methods.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/aef8b0eb-7d6b-42b7-9b44-bca489ec872c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Richard G

unread,
Jun 30, 2016, 10:02:34 AM6/30/16
to Google Visualization API
Ready event doesn't fire during zoom, nor rightclick.

Daniel LaLiberte

unread,
Jun 30, 2016, 10:11:38 AM6/30/16
to Google Visualization API
I was afraid of that.  That's why I said "should", though it is ambiguous. It seems we should be able to enable 'ready' events
in this context, though I am not sure why it was not done.

So for now, the best you could do is, with a timeout interval, watch what is happening in each of your charts, and if either changes, update the other.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.

Richard G

unread,
Jun 30, 2016, 10:16:42 AM6/30/16
to Google Visualization API
Thanks, just checking I wasn't missing something obvious....
Reply all
Reply to author
Forward
0 new messages