Skip to main content

SeriesPointCollection Class

Represents a collection that stores the data points of an individual series.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts


public class SeriesPointCollection :

The following members return SeriesPointCollection objects:


Each series represents a set of data points. A series holds its data points within its Series.Points collection which is represented by the SeriesPointCollection class. The properties and methods exposed by the SeriesPointCollection class can be used to perform common collection operations such as adding new or deleting existing items. Each item of the collection is represented by a SeriesPoint object. Individual items can be accessed using indexer notation.

Data points are automatically added to a collection of the SeriesPointCollection type when a series is bound to a data source (data binding can be performed using either a series’ Series.DataSource property or a chart control’s ChartControl.DataSource property). If a series is not bound to data, the collection of data points can be populated either manually at design time or runtime.

Data points are plotted on a chart control’s diagram in the order that they occur in this collection only if the series that the collection belongs to has its SeriesBase.PointsSorting property set to SortingMode.None. Otherwise, the manner in which data points are plotted depends upon the settings of both the SeriesBase.PointsSorting and SeriesBase.PointsSortingKey properties. Note that sorting can be applied to the series data points only if the series’ SeriesBase.ScaleType property is set to the ScaleType.Qualitative value.

For more information, refer to Series Points.


See Also