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.
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