ZoomCharts Documentation
Version: 1.21.1 (2024-11-08)
Switch to Version 2.0 (BETA)
Switch to Version 2.0 (BETA)
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
Inherited from: ItemsChartSettingsInteractionZooming
Whether to auto zoom every time user clicks on the chart.
doubleClickZoom: number
Default value: 1.5
Inherited from: ItemsChartSettingsInteractionZooming
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
Inherited from: ItemsChartSettingsInteractionZooming
Whether to zoom by two finger pinch.
fingersOverrideDrag: boolean
Default value: false
Inherited from: ItemsChartSettingsInteractionZooming
Whether a two-finger zoom takes precedence over an existing node drag
sensitivity: number
Default value: 1
Inherited from: ItemsChartSettingsInteractionZooming
Sensitivity of wheel zoom.
wheel: boolean
Default value: true
Inherited from: ItemsChartSettingsInteractionZooming
Whether to zoom by mouse wheel.
zoomInOnDoubleClick: boolean
Default value: true
Inherited from: ItemsChartSettingsInteractionZooming
Introduced in version 1.18.0.
Enables/Disables zoom in on double click. Informs Leaflet not to do this action.