Specifies the RangeSelector's behavior options.
In this example, a number of options belonging to the behavior configuration object are changed. Particularly, the snapToTicks option is set to 'false', so the RangeSelector's sliders do not dock to the scale ticks. These sliders cannot swap their places as the allowSlidersSwap option is also set to 'false'. In addition, widget animation is disabled by setting the animationEnabled option to 'false'.
Indicates whether or not you can swap sliders.
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.
Indicates whether or not animation is enabled.
To make a selected range and chart series move smoothly when required, enable animation by setting the animationEnabled property to true.
Specifies when to call the onSelectedRangeChanged function.
In this example, you can change the callSelectedRangeChanged option using the drop-down menu below. When this option is set to 'onMovingComplete', the function assigned to the onSelectedRangeChanged field will be called after you complete moving the sliders. When the callSelectedRangeChanged option is set to 'onMoving', this function will be called upon every move of the sliders regardless of its completion.
Indicates whether or not an end user can specify the range using a mouse, without the use of sliders.
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.
Indicates whether or not an end user can shift the selected range to the required location on a scale by clicking.
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.
Indicates whether to snap a slider to ticks.
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.