ZoomCharts Documentation
Switch to Version 2.0 (BETA)
PieChart.settings.advanced.pointer
Pointer related settings.
Properties
Pixels pointer can move around and still be registered as a click.
Pixels pointer can move around and still be registered as double click.
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.
The distance in pixels the pointer is allowed to be moved before the long-press event is cancelled.
Time in ms the pointer has to be hold to register a long press (an alternative to clicking the right mouse button).
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.
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.
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.
Time window to use for pointer speed estimation.
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.