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.

constructor(dataItemProvider)

Initializes a new instance of the SimpleSeries class with specified settings.

Declaration

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

Parameters

Name Type Description
dataItemProvider DataDashboardItem

Optional Parameters

Name Type Default Description
seriesJSON any null
serializer ModelSerializer null

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

Properties

seriesType Property

Specifies the series type.

Declaration

seriesType: ko.Observable<SimpleSeriesType>

Property Value

Type Description
ko.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
ko.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(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.