Launch Highcharts Zooming Programmatically (after A Selection)
The xAxis of my charts is represented with days (xAxisType=dateTime). I modify the selection event (zooming) and depend on the amount of days which are selected in the selection, t
Solution 1:
To set extremes use:
this.xAxis[0].setExtremes(min,max);
this.showResetZoom();
Solution 2:
Im guessing you need to programaticaly reset the zoom. This is a better option than enabling the default highcharts zoom reset label. Since that would require an extra redundant step.
this.zoom()
Thanks.
Solution 3:
Looks like this.zoom()
does not trigger chart.events.selection
event.
In case you need to reset zoom and trigger all events along the way click on "Reset button" programmatically
$('.highcharts-button').click();
Post a Comment for "Launch Highcharts Zooming Programmatically (after A Selection)"