Skip to content

Interface: D3PZoomToolOptions ​

Defined in: core/tools/zoom.ts:31

Options of a zoom tool: those of a tool, and the factor of one step (zoomFactor).

Extends ​

Properties ​

axes? ​

ts
axes?: D3PAxisFilter;

Defined in: core/tools/base.ts:16

Axes (objects or names) the tool acts on; omitted = every axis of the chart.

Inherited from ​

D3PToolOptions.axes


bus? ​

ts
bus?: D3PBus;

Defined in: core/tools/base.ts:14

The bus the tool uses (the global bus by default).

Inherited from ​

D3PToolOptions.bus


zoomFactor? ​

ts
zoomFactor?: number;

Defined in: core/tools/zoom.ts:36

Factor by which the visible span is multiplied by one zoom-in step (default 0.8, i.e. zoom-in shrinks the domain to 80 %). Must be in (0, 1).