ZoomCharts Documentation

Version: 1.21.1 (2024-11-08)

ZoomCharts.Configuration.TimeChartSettingsInteractionZooming

Inheritance hierarchy

This type inherits from LinearChartSettingsInteractionZooming.

Methods

This type does not define any methods.

Properties

alwaysNextUnit: boolean

If true, clicking to zoom will always pick the next smallest display unit

click: boolean
Introduced in version 1.15.0.

Whether to zoom-in when the chart area is clicked/tapped.

Note that to maintain backwards compatibility, if the zooming is completely disabled by setting enabled: false, the click interaction will still be available and must be disabled separately.

enabled: boolean

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; to disable that, specify click: false) and by using toolbar.

fingers: boolean

Whether to zoom by two finger pinch.

fingersMaxZoom: number

Max zoom difference when using pinch gesture.

matchDisplayUnit: boolean

If true, zooming out will try to align with the next larger display unit.

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

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

swipe: boolean

Whether to zoom by swiping up or down.

upDownTreshold: number

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

wheel: boolean

Whether to zoom by mouse wheel.

wheelSensitivity: number
Introduced in version 1.14.0.

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

zoomHighlightThreshold: number

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

zoomOnMinUnit: boolean

If set to false, no zooming will occur on interaction if the chart is already at the minimum unit

X