Launch Highcharts zooming programmatically (after a selection)

后端 未结 3 746
星月不相逢
星月不相逢 2020-12-17 05:35

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 t

3条回答
  •  难免孤独
    2020-12-17 06:26

    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();
    

提交回复
热议问题