Skip to main content
All docs
V25.2
  • SeriesPointCollection.AddBubblePoint(DateOnly, Double, Double) Method

    Adds a point with the specified argument and values required to plot a series with a bubble series view.

    Namespace: DevExpress.XtraCharts

    Assembly: DevExpress.XtraCharts.v25.2.dll

    NuGet Package: DevExpress.Charts

    Declaration

    public int AddBubblePoint(
        DateOnly argument,
        double value,
        double weight
    )

    Parameters

    Name Type Description
    argument DateOnly

    The new series point’s DateOnly argument.

    value Double

    The new series point’s value.

    weight Double

    The new series point’s weight.

    Returns

    Type Description
    Int32

    The position at which the new point was inserted.

    Remarks

    The following code snippet adds a bubble series point:

    using DevExpress.XtraCharts;
    using DevExpress.XtraEditors;
    
    public class MainForm : XtraForm {
      public MainForm() {
        Series series = new Series("Bubble Series", ViewType.Bubble);
        SeriesPointCollection points = series.Points;
        int index = points.AddBubblePoint(
          new DateOnly(2025, 10, 20),
          10.0,
          5.0
        );
        chartControl1.Series.Add(series);
      }
    }
    
    See Also