Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I detect a zoom event in highcharts?

Is it possible to detect a zoom event in Highcharts? My use case is that I have some state external to the chart, and when the user zooms in on part of it I want to detect what the new time range on the x-axis is and update the corresponding external state.

like image 969
Andrey Avatar asked Sep 07 '12 19:09

Andrey


1 Answers

Have you tried going through the Highcharts API?

You may want to look @ xAxis.events.setExtremes And/Or chart.events.selection

like image 86
Jugal Thakkar Avatar answered Oct 21 '22 19:10

Jugal Thakkar