Skip to main content

XRChart.SeriesTemplate Property

Gets the template settings for bound series.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.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