ZoomCharts Documentation

GeoChart.settings.interaction.zooming

This section is defined by the type GeoChartSettingsInteractionZooming.

Extra interaction options to control such behavior like disabling zoom in on double click.

Properties

autoZoomAfterClick: boolean
Default value: false

Whether to auto zoom every time user clicks on the chart.

doubleClickZoom: number
Default value: 1.5

A double-click on empty space will trigger zoom in by this value. Set to null or false to disable double click zooming.

fingers: boolean
Default value: true

Whether to zoom by two finger pinch.

fingersOverrideDrag: boolean
Default value: false

Whether a two-finger zoom takes precedence over an existing node drag

sensitivity: number
Default value: 1

Sensitivity of wheel zoom.

wheel: boolean
Default value: true

Whether to zoom by mouse wheel.

zoomInOnDoubleClick: boolean
Default value: true
Introduced in version 1.18.0.

Enables/Disables zoom in on double click. Informs Leaflet not to do this action.

X