highslide-software/highcharts.com — Issue #540: setData after setExtremes breaks tooltips
Author: josephruscio
Created: 2011-10-31 18:28:01+00:00
State: open

We have a dynamically updating chart that we call `setData` on with a new series on a regular period. Users can also change the Y min/max of the chart using an external form we provide. On the min/max change we tried using the `setExtremes` function ... which works until the next call to `setData`. After that the tooltips fail because the point's `onMouseOver` property is null. Also described in [comments on a Highcharts forum post](http://highslide.com/forum/viewtopic.php?f=12&t=13129)

To reproduce:

1. Create a chart with a series
1. Call `setExtremes` on the Y axis
1. Note that the extremes changed and tooltips still work
1. Call `setData` on the series with some new data
1. Note that tooltips no longer work and the console is full of: *Uncaught TypeError: Property 'onMouseOver' of object #