Skip to main content
A newer version of this page is available. .

XRChart.SeriesTemplate Property

Gets the template settings for bound series.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v17.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[SRCategory(ReportStringId.CatData)]
public SeriesBase SeriesTemplate { get; }

Property Value

Type Description
SeriesBase

A SeriesBase object that contains the template settings for bound series.

Remarks

The SeriesTemplate property provides access to an object that serves as a template for series which are created dynamically as a result of binding a chart control to data (via the XRChart.DataSource and XRChart.SeriesDataMember properties). The settings which are available via the SeriesTemplate property are common to all such data bound series. These settings allow you to provide centralized customization of all dynamically created data bound series. If you need to access an individual bound series, you can handle a specific event of a chart control (such as the XRChart.CustomDrawSeries event, for instance) and use the CustomDrawSeriesEventArgsBase.Series property of the event’s argument.

Note that the settings which are customized via the SeriesTemplate property don’t apply to the series contained within the XRChart.Series collection of a chart control.

See Also