You need to set up a 'select' event handler to do this:
google.visualization.events.addListener(chart, 'select', function () {
var row = chart.getSelection()[0].row;
alert('someone selected ' + data.getValue(row, 0));
});
On Thursday, May 31, 2012 4:41:05 PM UTC-4, sk wrote:
>
> hi i want to display the alert message when i select the particular state
> in the map.i draw a map using fusion tables...kindly help me
>
--
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/-/yQUzVGSzrrAJ.
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.