A newer version of this page is available. Switch to the current version.

Series.Points Property

Gets the series’ collection of series data points.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.1.dll


public SeriesPointCollection Points { get; }

Property Value

Type Description

A SeriesPointCollection object that represents the series point collection of the series.


The Points property provides access to a collection of series data points that belong to an individual series. The collection is represented by an instance of the SeriesPointCollection class, and allows individual data points (which are instances of the SeriesPoint class) to be added, deleted and accessed using indexer notation.

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


The following example demonstrates how to create a 2D Side-by-Side Bar. To do this, it is necessary to assign the ChartControl.Diagram property to XYDiagram2D, and then add two series with points to the diagram’s Diagram.Series collection.

<Window x:Class="SideBySideBar2DChart.Window1" 
        Title="Window1" Height="350" Width="620">
        <dxc:ChartControl Name="chartControl1">
                        <dxc:BarSideBySideSeries2D DisplayName="First Series" BarWidth="0.5">
                            <!--region #Model-->
                                <dxc:Quasi3DBar2DModel />
                            <!--endregion #Model-->
                                <dxc:SeriesPoint Argument="A" Value="1" />
                                <dxc:SeriesPoint Argument="B" Value="2" />
                                <dxc:SeriesPoint Argument="C" Value="3" />
                                <dxc:SeriesPoint Argument="D" Value="4" />
                        <dxc:BarSideBySideSeries2D DisplayName="Second Series" BarWidth="0.5">
                            <!--region #Model2-->
                                <dxc:Quasi3DBar2DModel />
                            <!--endregion #Model2-->
                                <dxc:SeriesPoint Argument="A" Value="4" />
                                <dxc:SeriesPoint Argument="B" Value="3" />
                                <dxc:SeriesPoint Argument="C" Value="2" />
                                <dxc:SeriesPoint Argument="D" Value="1" />
                <dxc:Legend />
See Also