Reputation: 2649
After using the second graph on my page which is highstock all my array's disappear.
Fiddle: http://jsfiddle.net/eu9rV/118/
Tried to place alerts on several parts of the page and after the second graph the array's are a gone.
var concatenatedWinddirection = [];
$.each(time, function (i, e) {
concatenatedWinddirection.push([e, winddirection[i]]);
});
3rd chart: Uncaught ReferenceError: concatenatedWinddirection is not defined
Upvotes: 0
Views: 33
Reputation: 28513
You have closed $(function(){...
just before $('#winddirection').highcharts({
.
remove });
which is just before $('#winddirection').highcharts({
and put it at the end.
Upvotes: 1