Skip to main content

XRChart.Series Property

Provides access to the chart’s collection of series objects.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v23.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[SRCategory(ReportStringId.CatElements)]
public SeriesCollection Series { get; }

Property Value

Type Description
SeriesCollection

A SeriesCollection object that represents the collection of series.

Remarks

The Series property provides access to a collection of all series which are defined explicitly within a chart control (either at design time or run time). The collection is represented by an instance of the SeriesCollection class and allows individual series (which are instances of the Series class) to be added, deleted and accessed using indexer notation.

Note that series which are bound to data at the level of a chart control (in particular, using the XRChart.DataSource, XRChart.SeriesDataMember and both the SeriesBase.ArgumentDataMember and SeriesBase.ValueDataMembers properties) are created dynamically based upon the data obtained from the specified data source and they are not presented within the Series collection. In order to access such series use the CustomDrawSeriesEventArgsBase.Series property of a chart control’s specific events (such as the XRChart.CustomDrawSeries or XRChart.CustomDrawSeriesPoint event, for instance). To perform a centralized customization of such series use the settings which are available via the XRChart.SeriesTemplate property.

See Also