score:0

Accepted answer

before your data will be initialized in the chart you can do some parse data operations to create two different arrays, for example:

var data =[[ 1578258092000, 109, 32 ], [ 1578258812000, 120, 34 ], [ 1578260104000, 123, 35 ]];

var data1 = data.map(d => [d[0], d[1]]),
    data2 = data.map(d => [d[0], d[2]]);

demo: https://jsfiddle.net/blacklabel/1lsgcy7h/


Related Query

More Query from same tag