Skip to main content
All docs
V24.1

SeriesPointCollectionDataAdapter Class

A data adapter that allows you to create and store individual series points in the Points collection.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[TypeConverter(typeof(LocalizableExpandableObjectTypeConverter))]
public class SeriesPointCollectionDataAdapter :
    ChartElement,
    ISeriesAdapter,
    IChartDataAdapter,
    ICloneable,
    ISupportIndexAdapter<IDataPoint>,
    IAssignableAdapter,
    IXtraSupportDeserializeCollectionItem

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;
        }
    }
}

Inheritance

Object
ChartElement
SeriesPointCollectionDataAdapter
See Also