API REFERENCE

resetZoom

Reset the zoomed or panned range to the original data range.

Definition

typescript
resetZoom(): Promise<CartesianZoomChangeEventDetail | null>

Return type: Promise<CartesianZoomChangeEventDetail | null>. Call the method after element registration and await its Promise result.