title: *Highcharts* How to get the min and max value of the zoom box
body: <p>I use the Zoom function in highcharts by setting <code>zoomType: 'xy'</code> and want to ask how can I find the min and max value on x Axis of the zoom box when I use my mouse to select the zoom position. I try to use <strong>getExtremes()</strong> :</p>
  
  <pre><code>events: {
      afterSetExtremes: function () {
          min = parseFloat(this.getExtremes().min);
          max = parseFloat(this.getExtremes().max);
      }
  }
  </code></pre>
  
  <p>but it seems that the returned min and max values are the values of the whole chart screen after zooming, not the box that I select to zoom.</p>