You need to set up an event listener to hook the 'select' event and use the
chart's getSelection() method to pull the row number:
google.events.addListener(chart, 'select', function () {
var selection = chart.getSelection();
alert ('The selected row number is: ' + selection.row);
});
--
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/-/rZpnSVOpBWEJ.
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.