I needed to create a timeline chart, where I can click on a row and open a 
URL.  
Once a row is selected, however, if you click the same row again, the 
selectHandler does not fire (I assume because there is no change to the 
selection?)
I was trying to work around this by clearing the selection as part of the 
selectHandler.  This works for many other charts but does not work for the 
Timeline chart.

https://jsfiddle.net/rg388awv/

I took the timeline chart example from the google docs, and added:

         function selectHandler() {
            chart.setSelection([]);
         }

        
google.visualization.events.addListener(chart,'select',selectHandler)

It fails to clear the selection, and I get "maximum call stack size 
exceeded" errors on mouseover

Any ideas?
-Chuck

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/dfc06a6d-0712-421a-89c5-e2f3be1b9a51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to