Skip to main content

BubbleSeries2D.SetWeight(SeriesPoint, Double) Method

Sets the value of the BubbleSeries2D.Weight property to a specified SeriesPoint.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public static void SetWeight(
    SeriesPoint point,
    double weight
)

Parameters

Name Type Description
point SeriesPoint

A SeriesPoint object to which the weight is set.

weight Double

A weight value.

Remarks

The following example creates a series point and specifies its weight:

SeriesPoint point1 = new SeriesPoint("A", 70);
BubbleSeries2D.SetWeight(point1, 2);
series.Points.Add(point1);
See Also