Back to Devexpress

ChartControl.SeriesNameTemplate Property

windowsforms-devexpress-dot-xtracharts-dot-chartcontrol-cdc37eaa.md

latest2.5 KB
Original Source

ChartControl.SeriesNameTemplate Property

Gets the settings used to name data bound series.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.UI.dll

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
public SeriesNameTemplate SeriesNameTemplate { get; }
vb
Public ReadOnly Property SeriesNameTemplate As SeriesNameTemplate

Property Value

TypeDescription
SeriesNameTemplate

A SeriesNameTemplate object that contains naming settings.

|

Remarks

The SeriesNameTemplate property provides access to the specific settings defining the prefix and postfix texts for the names of series which are dynamically created as a result of binding a chart control to data (using the ChartControl.DataSource, ChartControl.SeriesDataMember, SeriesBase.ArgumentDataMember and SeriesBase.ValueDataMembers properties). The series names which these prefix and postfix are added to are taken by each series from the data field defined by the ChartControl.SeriesDataMember property.

Note that the settings available via the SeriesNameTemplate property are not applied to the data bound series which are contained within the ChartControl.Series collection of a chart control.

The following image demonstrates this property in action.

See Also

SeriesNameTemplate

ChartControl Class

ChartControl Members

DevExpress.XtraCharts Namespace