I am using latest Highcharts version (3.0) and I have a problem with using plotBands and setExtremes() function.
chart: {
renderTo: "chart01",
defaultSeriesType: 'line',
zoomType: 'x',
events: {
load: function(event) {
this.xAxis[0].setExtremes(myStartDate, myEndDate);
this.yAxis[0].setExtremes(0,largest);
}
}
}
When using this, Highcharts does not display defined plotBands. If I comment out the two setExtremes functions the plotBands are displayed (red color spaces).
See following (working) fiddle example: http://jsfiddle.net/J8jKQ/
See following (not working) fiddle example: http://jsfiddle.net/J8jKQ/1/
Whats the problem here? Did the setExtremes functions remove the plotBand infos?