I can't think of anything off the top of my head that would do what you want
with chart events, but you can hack it, with something like this:
// index is the column index to highlight, highlight is the color to
highlight with
function drawChart(index, highlight) {
var colors = ['#58db25', '#2e7114', '#4ec221'];
if (index != null) {
colors[index] = highlight;
}
<set up chart>
chart.draw(data, {<options, minus colors>, colors: colors});
}
// use jQuery to bind mouseover and mouseout functions
$(".solvency").mouseover(function () {
drawChart(1, "#4f9336");
}
$(".solvency").mouseout(function () {
drawChart();
}
The first time you call drawChart(), don't pass any parameters. In your
text, use something like:
<span class="solvency">Solvency</span>
--
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.