The requested page is not available for the requested platform. You are viewing the content for Default platform.

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

Parameters

Name Type Description
dataItemProvider DataDashboardItem

Optional Parameters

Name Type Default Description
seriesJSON any null
serializer DxDesigner.Analytics.Utils.ModelSerializer null

An object used for a 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 Description
ko.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<Measure>

Property Value

Type Description
ko.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.

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray