I'm creating a Javascript Array in the following format:
series = [{
name: 'Tokyo',
data: [7.0, 6.9, 9.5]
}, {
name: 'New York',
data: [-0.2, 0.8, 5.7]
}]
But in some cases, I have to add new values in the index data
:
data: [-0.2, 0.8, 5.7, 2.7, 8.9, ...]
Does anyone know how to do this?