Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

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.

See Also