Skip to main content

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: DevExpress.Dashboard.Model.DataDashboardItem,
    seriesJSON?: any,
    serializer?: DevExpress.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
dataItemProvider DataDashboardItem
seriesJSON any
serializer ModelSerializer

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

Properties

seriesType Property

Specifies the series type.

Declaration

seriesType: ko.Observable<DevExpress.Dashboard.Model.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<DevExpress.Dashboard.Model.Measure>

Property Value

Type Description
Observable<Measure>

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