Skip to main content
All docs
V23.2

SeriesPointCollectionDataAdapter.Points Property

Returns a collection of series points.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Elements)]
[PersistenceMode(PersistenceMode.InnerProperty)]
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