score:38

Accepted answer

you can also go with series.setdata(). this will allow you to change the entire data of a particular series.

here is the api link for it.

hope this will be of use for you.

score:5

eureka - needs nested square brackets so this below works..

options.series[0].data = [[35.00,35.91,36.82,37.73,38.64]];

score:10

you can update the values dynamically as follows :

chart.series[0].setdata([89,71,16,12,14]);

if you want to change both value and label, create an array of arrays:

chart.series[0].setdata([['apple',89], ['orange',71], ['banana',16], ['grapes',12], ['others',14]]);

jsfiddle demo to update data on a button click.


Related Query

More Query from same tag