ZoomCharts Documentation
TimeChart.settings.interaction.selection
Configurable settings to select specific time period by dragging on the time axis.
Properties
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
Specifies if the selection area should be cleared/removed on right click. By default right click will clear selection.
Enable/disable selection
Specifies if the selection area can be moved by dragging it. By default the whole chart is moved instead.
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.
Specifies how much the pointer must move vertically for the resize to start. Requires moveByDragging
to be enabled.
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.
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