The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebChartControl.Series Property

Provides access to the chart control's collection of series objects.

Namespace: DevExpress.XtraCharts.Web

Assembly: DevExpress.XtraCharts.v19.2.Web.dll

Declaration

public SeriesCollection Series { get; }
Public ReadOnly Property Series As SeriesCollection

Property Value

Type Description
SeriesCollection

A SeriesCollection object that represents the collection of all 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 runtime). 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 web chart control (in particular, using the ASPxDataWebControlBase.DataSource, WebChartControl.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 web chart control's specific events (such as the WebChartControl.BoundDataChanged event, for instance). To perform a centralized customization of such series, use the settings which are available via the WebChartControl.SeriesTemplate property.

See Also