Diagram.SeriesTemplate Property
Specifies the series template settings.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.1.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
Property Value
Type | Description |
---|---|
Series | A Series object that contains the template settings for bound series. |
Remarks
Use the SeriesTemplate property for data binding, using a series template.
When a data source is assigned to the ChartControl.DataSource property, define the name of a data column upon which new series will be created (and named), via the Diagram.SeriesDataMember property. And, for the SeriesTemplate property, choose the common view type and other options for the auto-created series. Then, assign the required data fields to the Series.ArgumentDataMember and Series.ValueDataMember properties.
For more information, refer to Define a Template for Automatic Series.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SeriesTemplate property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.