score:1

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.

score:0

With jQuery you can try like this:

    var dataPoint =   [[1470406561000,2116],
                       [1470406561000,2116],
                       [1470406562000,2116]];  

    var chart = $('#chart2').highcharts();
    chart.series[0].setData(dataPoint);

    $('#chart2').highcharts().redraw();

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


Related Query

More Query from same tag