zoomToRange method

ChartZoomState zoomToRange(
  1. double start,
  2. double end, {
  3. String label = 'Zoom',
})

Zoom to a specific data fraction range, pushing current state to history.

Implementation

ChartZoomState zoomToRange(
  double start,
  double end, {
  String label = 'Zoom',
}) {
  return _applyWindow(start, end, pushHistory: true, historyLabel: label);
}