Accepted answer

My issue was the JSON was not being parsed by jQuery on the view and essentially passing it to the highcharts series raw. By adding jQuery.parseJSON(chartData); It was able to parse correctly and display on the chart.


With jQuery you can try like this:

    var dataPoint =   [[1470406561000,2116],

    var chart = $('#chart2').highcharts();


Please make sure you change chart id i.e. #chart2 correctly as per your code.

Related Query

More Query from same tag