chart.resetView()

Type: function()
Returns: Promise<void>

Resets the chart 'view':

  • any visible modal windows (e.g. a ticket type selector) are closed
  • the chart is zoomed out to its initial zoom level

Unlike chart.rerender(), the chart data is not fetched again, and the current selection and hold token are left untouched.

chart.resetView() cannot be invoked after the hold token is expired.