ZoomCharts Documentation

Version: 1.21.1 (2024-11-08)

ZoomCharts.Configuration.TimeChartSettingsInteractionSelection

Methods

This type does not define any methods.

Properties

clearOnDropdownUnitMismatch: boolean
Introduced in version 1.18.0.

Specifies if the selection area should be cleared/removed when display unit dropdown menu is changed to a unit where the selection will no longer start and end on a whole unit

clearOnRightClick: boolean
Introduced in version 1.18.0.

Specifies if the selection area should be cleared/removed on right click. By default right click will clear selection.

enabled: boolean

Enable/disable selection

moveByDragging: boolean
Introduced in version 1.14.0.

Specifies if the selection area can be moved by dragging it. By default the whole chart is moved instead.

resizeSensitivity: number
Introduced in version 1.14.0.

Specifies the speed by which the selection is resized by dragging it up and down. Requires moveByDragging to be enabled.

Note - set to 0 to disable the resize gesture.

resizeTolerance: number
Introduced in version 1.14.0.

Specifies how much the pointer must move vertically for the resize to start. Requires moveByDragging to be enabled.

tolerance: number

Distance in pixels to both sides of the selection left/right edges that can be used to drag the selection area to expand/collapse it.

zoomOutSelectionMode: "clear" | "mismatch" | "keep"
Introduced in version 1.18.14.

Specifies what should happen to the selection when zoom out is used

Valid values:
  • clear - Selection is cleared on zoom out
  • mismatch - Selection is cleared if it's incompatible with new display unit
  • keep - Selection is always kept
X