score:7

Accepted answer

You can use the chart.events.selection event to get this information. For example:

chart: {
    events: {
        selection: function(event) {
            if(event.xAxis != null)
                console.log("selection: ", event.xAxis[0].min, event.xAxis[0].max);
            else
                console.log("selection: reset");
        }
    },
    zoomType: 'xy'
}

See this JSFiddle for a demonstration and logging of the results.


Related Query