WjFlexChartPlotArea Class

File
wijmo.angular2.js
Module
wijmo/wijmo.angular2.chart
Base Class
PlotArea
Show
   

Angular 2 component for the PlotArea control.

The wj-flex-chart-plot-area component must be contained in one of the following components: WjFlexChart or WjFinancialChart.

Use the wj-flex-chart-plot-area component to add PlotArea controls to your Angular 2 applications. For details about Angular 2 markup syntax, see Angular 2 Markup.

The WjFlexChartPlotArea component is derived from the PlotArea control and inherits all its properties, events and methods.

Constructor

Properties

Methods

Constructor

constructor

constructor(): PlotArea

Initializes a new instance of the PlotArea class.

Inherited From
PlotArea
Returns
PlotArea

Properties

column

Gets or sets the column number of plot area. Using column property, you can set vertical position of the plot area on the chart.

Inherited From
PlotArea
Type
number

height

Gets or sets height of the plot area.

The height can be specified as number(sets the height in pixels) or string in the format '{number}*' (star sizing).

Inherited From
PlotArea
Type
any

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

name

Gets or sets the plot area name.

Inherited From
PlotArea
Type
string

row

Gets or sets the row number of plot area. Using row property, you can set horizontal position of the plot area on the chart.

Inherited From
PlotArea
Type
number

style

Gets or sets the style of the plot area.

Using style property, you can set appearance of the plot area. For example:

pa.style = { fill: 'rgba(0,255,0,0.1)' };
Inherited From
PlotArea
Type
any

width

Gets or sets width of the plot area.

The width can be specified as number(sets the width in pixels) or string in the format '{number}*' (star sizing).

Inherited From
PlotArea
Type
any

wjProperty

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

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