title: Amcharts Serial: How to get current zoom indexes
body: <p>In the amcharts serial chart you can select a specific area of values to display using this function:</p>
  
  <pre><code>chart.zoomToIndexes(chartData.length - x, chartData.length - 1)
  </code></pre>
  
  <p>This displays the last x values.
  However, this selected area can be changed by the user dragging the chart cursor.
  So if i would want to save the last indexes the chart was zoomed to before leaving the page / doing whatever, how can i get them?</p>
  
  <p>The documentation does not seem to provide any helpful information here...</p>