javascript - Dynamically update subtitle on Highcharts chart? -


is possible dynamically update subtitle of highcharts chart?

in docs, can see options relating initial configuration options, not methods update chart.

in update i'm doing, i'm updating data, , i'd highcharts update part of smooth redraw if possible, rather re-rendering whole chart.

$('#container').highcharts({     subtitle: {         text: 'the subtitle'     }, ... }); //how update after initial config? 

jsfiddle: http://jsfiddle.net/7p5pscvs/

var chart = $('#container').highcharts(); $('#clickme').on('click', function() {        chart.settitle(null, { text: 'new subtitle '}); }); 

http://jsfiddle.net/7p5pscvs/3/


Comments