constructor(chart: FlexChartCore, options?): RangeSelector
Initializes a new instance of the RangeSelector class.
The FlexChart that displays the selected range.
A JavaScript object containing initialization data for the control.
Gets or sets the maximum value of the range. If not set, the maximum is calculated automatically.
Gets or sets the maximum range scale of the range selector. The maximum scale is between 0 and 1.
Gets or sets the minimum value of the range. If not set, the minimum is calculated automatically.
Gets or sets the minimum range scale of the range selector. The minimum scale is between 0 and 1.
Gets or sets a value that determines whether the minimal and maximal handler will move seamlessly.
onRangeChanged(e?: EventArgs): void
Raises the rangeChanged event.
The RangeSelector control displays a range selector that allows the user to choose the range of data to display on the specified FlexChart.
To use the RangeSelector control, specify the FlexChart control to display the selected range of data.
The rangeChanged event is fired when there is a change in min or max value. For example:
var rangeSelector = new wijmo.chart.interaction.RangeSelector(chart); rangeSelector.rangeChanged.addHandler(function () { // perform related updates // e.g. modify displayed range of another chart update(rangeSelector.min, rangeSelector.max); });