API REFERENCE
zoom
cartesian zoom (line / area / column / bar / scatter): 'x' | 'y' | 'xy' | true enable the drag rectangle + keyboard on the primary axes; an object refines mode / drag / keyboard / minRangePx / resetButton. Forwarded to the active family element.
Definition
| Item | Value |
|---|---|
| JavaScript property | zoom |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | CartesianZoomInput |
| Default | undefined |
| Literals in the type | auto, off, true, false, x, y, xy, inside |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
- CartesianZoomInput
Type definition