WjFlexChartRangeSelector Class

File
wijmo.angular2.js
Module
wijmo/wijmo.angular2.chart.interaction
Base Class
RangeSelector
Show
   

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.

Constructor

Properties

Methods

Events

Constructor

constructor

constructor(chart: FlexChartCore, options?): RangeSelector

Initializes a new instance of the RangeSelector class.

Parameters
Inherited From
RangeSelector
Returns
RangeSelector

Properties

initialized

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.

Type
EventEmitter

isInitialized

Indicates whether the component has been initialized by Angular. Changes its value from false to true right before triggering the initialized event.

Type
boolean

isVisible

Gets or sets the visibility of the range selector.

Inherited From
RangeSelector
Type
boolean

max

Gets or sets the maximum value of the range. If not set, the maximum is calculated automatically.

Inherited From
RangeSelector
Type
number

maxScale

Gets or sets the maximum range scale of the range selector. The maximum scale is between 0 and 1.

Inherited From
RangeSelector
Type
number

min

Gets or sets the minimum value of the range. If not set, the minimum is calculated automatically.

Inherited From
RangeSelector
Type
number

minScale

Gets or sets the minimum range scale of the range selector. The minimum scale is between 0 and 1.

Inherited From
RangeSelector
Type
number

orientation

Gets or sets the orientation of the range selector.

Inherited From
RangeSelector
Type
Orientation

rangeChangedNg

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.

Type
EventEmitter

seamless

Gets or sets a value that determines whether the minimal and maximal handler will move seamlessly.

Inherited From
RangeSelector
Type
boolean

wjProperty

Gets or sets a name of a property that this component is assigned to. Default value is ''.

Type
string

Methods

created

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.

Returns
void

onRangeChanged

onRangeChanged(e?: EventArgs): void

Raises the rangeChanged event.

Parameters
Inherited From
RangeSelector
Returns
void

remove

remove(): void

Removes the RangeSelector control from the chart.

Inherited From
RangeSelector
Returns
void

Events

rangeChanged

Occurs after the range changes.

Inherited From
RangeSelector
Arguments
EventArgs