Hi,
you are very close ;]
try this:
// put the visualization in a variable, for later use
var piechart = new
google.visualization.PieChart(document.getElementById('visualization'));
google.visualization.events.addListener(pie1, 'onmouseover',
function(e) {
// use it..
piechart.setSelection([e]);
});
// now draw it
piechart.draw(data, null);
HTH
BugChart.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
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.