It seems that this was never documented. There are two methods you can use: - google.visualization.events.removeAllListeners(object) Removed all the listeners of some object (the chart for example)
- google.visualization.events.removeListener(listener) Removes a specific listener, where the listener object is the one returned from addListener. Here is your modified code (changed the alert to console.log and the ready to select so you can easily invoke it many times) http://jsfiddle.net/ftVum/2/ Viz Kid On Tue, Dec 20, 2011 at 1:48 AM, asgallant <[email protected]>wrote: > Ok, stupid question time >;o)~ > > How do we unbind visualization event handlers? See > http://jsfiddle.net/ftVum/ > > -- > 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/-/L0RhcBmu5qMJ. > 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. > -- 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.
