score:4

Accepted answer

Via @hfrntt, this works as a temporary fix :

 $(chart.yAxis[0].axisTitle.element).text('New Label');

score:-2

// this works as correct implementation and not a fix.

chart.yAxis[0].setTitle({'text':'My text'});

// highcharts forums

score:1

What you've described should be correct. I've experimented with something just as simple: setting the chart title.

var chart = //... Simple chart definition

$button = $('#button');
$button.click(function() {
    chart.setTitle("Garbage");
    chart.redraw();
});

This simple example should also work, so I suspect you may have found a bug.


Related Query