0

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

1 Answer 1

1

You have closed $(function(){... just before $('#winddirection').highcharts({.

remove }); which is just before $('#winddirection').highcharts({ and put it at the end.

Demo

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks! but i also got this javascript error: Uncaught TypeError: undefined is not a function
happy to help you :). For this error, you need to look into check highchart.js and paramter passed to show chart.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.