ZoomCharts Documentation

Version: 1.21.1 (2024-11-08)

FacetChart.settings.interaction.zooming

This section is defined by the type LinearChartSettingsInteractionZooming.

Configurable settings to enhance and alleviate zoom interaction.

Properties

enabled: boolean
Default value: true

If set to false, all zoom gestures will be disabled, irrespective of how the other properties are configured. Note that the user will still be able to zoom by drill-down (clicking on values) and by using toolbar.

fingers: boolean
Default value: true

Whether to zoom by two finger pinch.

fingersMaxZoom: number
Default value: 10

Max zoom difference when using pinch gesture.

sensitivity: number
Default value: 2
Version 1.13.0: default value changed from 1 to 2.

Zooming sensitivity for swipe gestures. Bigger values correspond to faster zooming.

swipe: boolean
Default value: true

Whether to zoom by swiping up or down.

upDownTreshold: number
Default value: 10

How far pointer must be moved up or down in pixels before zooming activates.

wheel: boolean
Default value: false

Whether to zoom by mouse wheel.

wheelSensitivity: number
Default value: 1.5
Introduced in version 1.14.0.

Zooming sensitivity for mouse wheel. Bigger values correspond to faster zooming. Must be >= 1.1

zoomHighlightThreshold: number
Default value: 1.5

Zoomed area is highlighted if zoom is changed more number of times than this.

X