I'm trying to change a point in an existing series. From looking at the API, I've been trying the following:
chart.series[0].data[0].y = 43;
chart.redraw();
I'm sure I'm missing something simple but I can't figure it out. Thanks for your help.
I'm trying to change a point in an existing series. From looking at the API, I've been trying the following:
chart.series[0].data[0].y = 43;
chart.redraw();
I'm sure I'm missing something simple but I can't figure it out. Thanks for your help.
You can't just set the value. chart.series[0].data[0] returns a point object, which you can then use it's 'update' method to change it's values.
You can see an example here: http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/members/point-update-column/
Well it works properly for both coordinates: http://jsfiddle.net/PsBh7/