highslide-software/highcharts.com — Issue #525: Missing check for presence of chart callbacks?
Author: Cyranix
Created: 2011-10-25 20:41:06+00:00
State: open

It has been several minor versions since I used Highcharts, so either I'm missing something, or the documentation needs to be clarified, or there is a bug.

Load http://jsfiddle.net/Cyranix/Tr7nk/5255/ and see that generating a basic chart causes a JavaScript error. Unless my super-simple example is improperly configured (which doesn't seem to be the case, given that it renders fine), I believe a fix is in order. Perhaps modify the each() function to return if arr isn't an array, or test that chart.callbacks is defined at the end of firstRender() [~line 8393]?