Skip to main content
A newer version of this page is available. .

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

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

An object used for a dashboard deserialization. Do not pass this parameter directly.

Properties

seriesType Property

Specifies the series type.

Declaration

seriesType: ko.Observable<SimpleSeriesType>

Property Value

Type Description
Observable<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: ko.Observable<Measure>

Property Value

Type Description
Observable<Measure>

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

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray