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

ItemValue
JavaScript propertyzoom
HTML attributePass objects, arrays, and callbacks as JavaScript properties
TypeCartesianZoomInput
Defaultundefined
Literals in the typeauto, 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.