React RangeSelector - behavior

Specifies the RangeSelector's behavior properties.

Type:

Object

allowSlidersSwap

Indicates whether or not you can swap sliders.

Type:

Boolean

Default Value: true

When this property is set to true, you can move a slider to the required scale value by crossing over the other slider. When this property is set to false, you can only move a slider to the other slider's position.

animationEnabled

Indicates whether or not animation is enabled.

Type:

Boolean

Default Value: true

To make a selected range and chart series move smoothly when required, enable animation by setting the animationEnabled property to true.

callValueChanged

Specifies when to call the onValueChanged function.

Type:

String

Default Value: 'onMovingComplete'
Accepted Values: 'onMoving' | 'onMovingComplete'

manualRangeSelectionEnabled

Indicates whether or not an end user can specify the range using a mouse, without the use of sliders.

Type:

Boolean

Default Value: true

When this property is set to true, you can select the desired range using a mouse selection, and the sliders will be positioned at the start and end points of your selection.

moveSelectedRangeByClick

Indicates whether or not an end user can shift the selected range to the required location on a scale by clicking.

Type:

Boolean

Default Value: true

When this property is set to true, you can click anywhere on an unselected area and the currently selected range will shift to the position that was clicked.

snapToTicks

Indicates whether to snap a slider to ticks.

Type:

Boolean

Default Value: true

When this property is set to true, the slider docks to the nearest tick. The slider marker always displays the value of the nearest tick.

When this property is set to false, the slider will stay in the position in which it was dropped. The slider marker always displays the current scale value.