Open this page in the API Guide

Chart.zoom Method

Zooms into the chart so that the visible parts of the axes start and end at the positions of the specified values.
 

Parameters

xStartValue

Type: Object
The axis value that represents of the start of the visible area.
xEndValue

Type: Object
The axis value that represents of the end of the visible area.
yStartValue

Type: Object
The axis value that represents of the start of the visible area.
yEndValue

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