Most charts expose the "select" event, which you can hook into via event 
listeners: http://code.google.com/apis/chart/interactive/docs/events.html, 
http://code.google.com/apis/ajax/playground/?type=visualization#select_event

As an example:

/*  hooks the select event of the chart
 *  assumes:
 *    chart is the chart object
 */
google.visualization.events.addListener(chart, 'select', function() {
    alert('select event fired');
});

You can call the #getSelection method of the chart object to get the row 
and/or column of the DataTable entry representing the chart element 
selected.

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

Reply via email to