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.v19.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core

Declaration

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

Property Value

Type Description
SeriesTemplate

A SeriesTemplate 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 (using the XRChart.DataSource and XRChart.SeriesDataMember properties). The settings available using 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.

Note that these settings are not applied to the series contained within the chart control’s XRChart.Series collection.

If you need to access an individual bound series, you can handle a specific chart control’s event (for instance, the XRChart.CustomDrawSeries event) and use the event argument’s CustomDrawSeriesEventArgsBase.Series property.

See Also