zoomAtDataIndex(scale, dataIndex, animationDuration?)
zoomAtDataIndex
zoom at the specified data index.
Reference
typescript
(
scale: number,
dataIndex: number,
animationDuration?: number
) => void
Parameters
scale
Scaling.dataIndex
Data index.animationDuration
Animation duration. If it is less than or equal to 0, there is no animation.
Returns
zoomAtCoordinate
returns undefined
.