Hi,
I was trying to use the mouseover tooltip example
here on a material bar chart (e.g. google.charts.Bar), since I like the new material charts.
In the example code from the documentation I replaced:
barsVisualization = new google.visualization.ColumnChart(document.getElementById('mouseoverdiv'));
with:
barsVisualization = new google.charts.Bar(document.getElementById('mouseoverdiv'));
and on the first mouseover event it ran into what looks like an endless recursion and I get a error (maximum call stack size exceeded).
Does the setSelection trigger a mouseover event causing the recursion? How could I avoid that?
Am I missing something? Is there some more documentation on the events of the material charts?
I was trying to change the style of the chart elements so that they look selected when they are just hovered (I like the greyed-out effect to make the selection more obvious, which is especially useful on smaller charts with more elements/series).
How should I handle this better/properly?
Thanks for your help!
Florian