ZoomCharts Documentation

Version: 1.21.3 (2025-04-07)
Switch to Version 2.0 (BETA)

ZoomCharts.Configuration.BaseSettingsAdvancedPointer

Methods

This type does not define any methods.

Properties

clickSensitivity: number

Pixels pointer can move around and still be registered as a click.

doubleClickSensitivity: number

Pixels pointer can move around and still be registered as double click.

doubleClickTimeout: number

Maximum time in ms between clicks to register a double click. Also controls the maximum amount of time that can pass between a mouse down and mouse up and still qualify as a click.

Special values: null - Entirely disables double and triple click; all clicks count as single. undefined - Same as null. 0 - Entirely disables clicking in general; all mouse down and up events are registered as just mouse down and mouse up.

longPressSensitivity: number

The distance in pixels the pointer is allowed to be moved before the long-press event is cancelled.

longPressTimeout: number

Time in ms the pointer has to be hold to register a long press (an alternative to clicking the right mouse button).

mouseWheelRequiresFocus: boolean
Introduced in version 1.13.0.

Specifies if the mouse wheel is only captured when the chart has focus. Setting this to true will require that the user first clicks the chart area.

noClickOnDoubleClick: boolean

If enabled, normal click event is not sent when user performs a double click. A not so nice side effect is that any on click actions are delayed by the double click timeout. Set to false if you are not relying on double click events.

scrollIntoView: boolean
Version 1.12.0: added the setting, previously the default was true.

Specifies if the chart container is scrolled into view once the chart is clicked.

Note that the scroll happens on a click, if the pointer is used to for example, drag the chart, it will not scroll into view so that the user interaction works properly.

speedAveragingPeriod: number

Time window to use for pointer speed estimation.

tripleClickTimeout: number

Maximum time in ms between double click and triple click to register a triple click. Special values: null -- Use the same length as doubleClickTimeout undefined -- Same as null.

X