score:1

Accepted answer

Highcharts can take data in several different ways. I think the one you're looking for is:

An array of arrays with 2 values. In this case, the values correspond to x,y. If the first value is a string, it is applied as the name of the point, and the x value is inferred.

data: [
    [0, 1],
    [1, 2],
    [2, 8]
]

https://api.highcharts.com/highcharts/series.line.data


Related Query

More Query from same tag