Hook up a "onmouseover" event listener to the chart:
google.visualization.events.addListener(chart, 'onmouseover', function (e) {
// get row and column information from the event
var row = e.row;
var column = e.column;
// fetch data from the DataTable with the row and column information
var value = data.getValue(row, column);
// do something with the value
});
On Saturday, March 9, 2013 5:44:28 AM UTC-5, praveenkumar golla wrote:
>
> i created a column chart using google api, my tooltip shows values i want
> to draw a piechart using these values when mouse hover to a column is there
> a way to do this.
>
> thanks in advance
>
--
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
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.