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.
This event is triggered after the component has been initialized by Angular, that is all bound properties have been assigned and child components (if any) have been initialized.
Indicates whether the component has been initialized by Angular. Changes its value from false to true right before triggering the initialized event.
Gets or sets the visibility of the range selector.
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 the orientation of the range selector.
Angular (EventEmitter) version of the Wijmo rangeChanged event for programmatic access. Use this event name if you want to subscribe to the Angular version of the event in code. In template bindings use the conventional rangeChanged Wijmo event name.
Gets or sets a value that determines whether the minimal and maximal handler will move seamlessly.
Gets or sets a name of a property that this component is assigned to. Default value is ''.
created(): void
If you create a custom component inherited from a Wijmo component, you can override this method and perform necessary initializations that you usually do in a class constructor. This method is called in the last line of a Wijmo component constructor and allows you to not declare your custom component's constructor at all, thus preventing you from a necessity to maintain constructor parameters and keep them in synch with Wijmo component's constructor parameters.
onRangeChanged(e?: EventArgs): void
Raises the rangeChanged event.
remove(): void
Removes the RangeSelector control from the chart.
Angular 2 component for the RangeSelector control.
The wj-flex-chart-range-selector component must be contained in one of the following components: WjFlexChart or WjFinancialChart.
Use the wj-flex-chart-range-selector component to add RangeSelector controls to your Angular 2 applications. For details about Angular 2 markup syntax, see Angular 2 Markup.
The WjFlexChartRangeSelector component is derived from the RangeSelector control and inherits all its properties, events and methods.