I have three charts to display. My tooltips show nicely on each point (showing the y value of each of the three graphs). However, if I hide one of my graphs, then I begin getting the following highstocks error:
Uncaught TypeError: Property 'onMouseOver' of object #<Object> is not a function
in the highstocks file line 6882
Here is the code if interested:
- Code: Select all
// separate tooltip and general mouse events
if (hoverSeries && hoverSeries.tracker) { // only use for line-type series with common tracker
// get the point
point = hoverSeries.tooltipPoints[index];
// a new point is hovered, refresh the tooltip
if (point && point !== hoverPoint) {
// trigger the events
point.onMouseOver();
highcharts.js:6882Uncaught TypeError: Property 'onMouseOver' of object #<Object> is not a function
}
}
Error happens on point.onMouseOver... says point doesn't have onMouseOver??
I'm using latest Highstocks (1.01, one that released on 10/25/11).
Any ideas?