score:1

Accepted answer

You need to map your data to the format required by Highcharts.

const data = [{
        "t": "2010-05-06T00:00:00Z",
        "v": 294
    },
    ...
];

const seriesData = data.map(dataEl => [new Date(dataEl.t).getTime(), dataEl.v]);

Highcharts.chart('container', {
    ...,
    series: [{
        data: seriesData
    }]
});

Live demo: http://jsfiddle.net/BlackLabel/z74pyfbj/

API Reference: https://api.highcharts.com/highcharts/series.column.data


Related Articles