Highcharts: How to rename series

Chris picture Chris · Sep 3, 2011 · Viewed 17.5k times · Source

I'm using highcharts in my web application and I was wondering if there's any way to rename a series after the chart hast been created??

Thanks in advance!!

Answer

buaacss picture buaacss · Apr 12, 2013

actually, there's a way now. In highchars 3.0 series added a new api, called update:

chart.series[0].update({name:"name u want to change"}, false);
chart.redraw();

it will not only update the series name below the chart, but the name in tooltip as well.

Cheers!