SimpleSeries Class

A Simple series.

Declaration

export class SimpleSeries extends ChartSeries

Remarks

A Simple series presents regular two-dimensional data, in which each data point corresponds to one argument value and one Y-axis value.

Use the SimpleSeries.seriesType property to specify the series type.

A Simple series requires one measure to calculate the Y-coordinates of data points. Use the SimpleSeries.value property to specify this measure.

To plot a series within the ChartItem, add the SimpleSeries object to the ChartPane.series collection of a pane where you need to display this series. Use the ChartDashboardItem.panes property to access a desired pane.

Inheritance

ChartSeries
SimpleSeries

constructor(dataItemProvider)

Declaration

constructor(dataItemProvider: DataDashboardItem, seriesJSON?: any, serializer?: DxDesigner.Analytics.Utils.ModelSerializer)

Parameters

Type Name Description
DataDashboardItem dataItemProvider
any seriesJSON
DxDesigner.Analytics.Utils.ModelSerializer serializer

Properties

seriesType Property

Specifies the series type.

Declaration

seriesType: KnockoutObservable<SimpleSeriesType>

Property Value

Type Description
KnockoutObservable<SimpleSeriesType>

A SimpleSeriesType value that specifies the series type.

value Property

Specifies a measure that provides data used to calculate the Y-coordinate of the data points.

Declaration

value: KnockoutObservable<Measure>

Property Value

Type Description
KnockoutObservable<Measure>

A Measure object that provides data used to calculate the Y-coordinate of the data points.

Methods

getInfo Method

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationsInfo

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationsInfo