ChartControl.SeriesNameTemplate Property
Gets the settings used to name data bound series.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.UI.dll
NuGet Package: DevExpress.Win.Charts
Declaration
Property Value
Type | Description |
---|---|
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.