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


public string SeriesDataMember { get; set; }

Property Value

Type Description

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


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