highslide-software/highcharts.com — pull request #539 by josephruscio (2011-10-31 17:52:19+00:00)
Title: Handle case where  is called after a series change but before a redraw

The `Chart.get()` method searches series, axes, and points for an ID matching the supplied string. If a series has been changed through a call such as `setData(data, false)` that doesn't do a redraw, the currents points array appears to be null until the next call to `@chart.redraw()`. The following patch prevents the library from trying to access the `length` property on `null`.