Open this page in the API Guide
ChartViewportSettings.zoom Method
Zooms into the chart so that the visible parts of the axis starts and ends at the positions of the specified values.
Parameters
- startValue
-
Type: Object
The axis value that represents of the start of the visible area.
- endValue
-
Type: Object
The axis value that represents of the end of the visible area.
- isAnimated
-
Type: Boolean
A value indicating whether to animate the change in zoom level if animations are enabled.
Optional: True