score:10

Accepted answer

You can use the API to toggle the series plot options like this:

    var chart = $('#container').highcharts();
    var opt = chart.series[0].options;
    opt.dataLabels.enabled = !opt.dataLabels.enabled;
    chart.series[0].update(opt);

e.g. http://jsfiddle.net/sYMcs/

chart.series[0].options gets the options applying to series 0. series.update amends the current options, and redraws the chart.


Related Query

More Query from same tag