Skip to main content
A newer version of this page is available. .

Diagram.SeriesDataMember Property

Gets or sets the name of the data field whose values are used to automatically generate and populate series.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.1.dll

Declaration

public string SeriesDataMember { get; set; }

Property Value

Type Description
String

A String value that specifies the data field’s name.

Remarks

Use the SeriesDataMember 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 SeriesDataMember property. And, for the Diagram.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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SeriesDataMember 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.

See Also