Skip to main content
All docs
V25.1
  • SeriesPointCollectionDataAdapter.Points Property

    Returns a collection of series points.

    Namespace: DevExpress.XtraCharts

    Assembly: DevExpress.XtraCharts.v25.1.dll

    NuGet Package: DevExpress.Charts

    Declaration

    [PersistenceMode(PersistenceMode.InnerProperty)]
    [XtraChartsLocalizableCategory(XtraChartsCategory.Elements)]
    public SeriesPointCollection Points { get; }

    Property Value

    Type Description
    SeriesPointCollection

    A collection of SeriesPoint objects.

    Remarks

    The following example shows how to create series points and add them to a series.

    using DevExpress.XtraCharts;
    
    namespace ChartDataAdapters {
        public partial class Form1 : Form {
            private void Form1_Load(object sender, EventArgs e) {
                Series series = new Series("Series1", ViewType.Point);
                SeriesPointCollectionDataAdapter dataAdapter = new SeriesPointCollectionDataAdapter();
                for (int i = 0; i < 10; i++)
                    dataAdapter.Points.Add(new SeriesPoint(i, i));
                series.DataAdapter = dataAdapter;
            }
        }
    }
    
    See Also