Skip to main content

WeightedSeries Class

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

#Declaration

TypeScript
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

TypeScript
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

TypeScript
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

TypeScript
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.