score:2

Accepted answer

If you check the javascript for errors you'll see this one:

http://www.highcharts.com/errors/15

Highcharts expects data to be sorted

This happens when you are trying to create a line series or a stock chart where the data is not sorted in ascending X order. For performance reasons, Highcharts does not sort the data, instead it is required that the implementer pre-sorts the data.

This appears to be misleading because at first glance you data looks fine.

BUT, the with Date.UTC function, the month is zero based so some of your dates like

Date.UTC(2014,01,31)  // this is February the 31st!?!

don't make any sense and Date.UTC is trying to make meaning out of them.


Related Articles