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

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.

Inheritance

ChartSeries
WeightedSeries

constructor(dataItemProvider)

Initializes a new instance of the WeightedSeries class.

Declaration

constructor(
    dataItemProvider: DataDashboardItem,
    seriesJSON?: any,
    serializer?: 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<Measure>

Property Value

Type
Observable<Measure>

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<Measure>

Property Value

Type
Observable<Measure>

Remarks

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