Skip to main content

WeightedSeries Class

A Weighted series that allow you to visualize data in three dimensions.

Declaration

export class WeightedSeries extends ChartSeries

Remarks

A Weighted series extends a regular point diagram with the capability to visually represent data that has a third dimension (the weight of a series point). You map two dimensions along the usual X and Y axes, and then the third dimension is expressed in the size of a filled circle, “bubble”, displayed at the data point.

A Weighted series requires two measures to be provided. They are used to calculate the value and weight of series points.

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

constructor(dataItemProvider)

Initializes a new instance of the WeightedSeries class.

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

value Property

Specifies a measure that provides data used to calculate the value of series 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 value of series points.

Remarks

Use the WeightedSeries.weight property to provide data for calculating the weight of series points.

weight Property

Specifies a measure that provides data used to calculate the weight of series points.

Declaration

weight: ko.Observable<DevExpress.Dashboard.Model.Measure>

Property Value

Type Description
Observable<Measure>

A Measure object that provides data used to calculate the weight of series points.

Remarks

Use the WeightedSeries.value property to provide data for calculating the value of series points.