I have created an empty array, and I'd like to create and append arrays within this array:
values: []
I want to have the values array in a format like this:
[ [ 1025409600000 , 23.041422681023] , [ 1028088000000 , 19.854291255832] , [ 1030766400000 , 21.02286281168] ]
So I did
values.push({x: 1025409600000, y: 23.041422681023});
This creates a javascript object instead of an array of arrays. How can I not append a new javascript object but append an array within the values array instead?