DataMember(ChartDataMemberType, String) Constructor

Initializes a new instance of the DataMember class with the data member type and a name of the column from a datasource.

Namespace: DevExpress.UI.Xaml.Charts

Assembly: DevExpress.UI.Xaml.Charts.v18.1.dll

Declaration

public DataMember(
    ChartDataMemberType dataMemberType,
    string columnName
)
Public Sub New(
    dataMemberType As ChartDataMemberType,
    columnName As String
)

Parameters

Type Name Description
ChartDataMemberType dataMemberType

A ChartDataMemberType enumeration value specifying the data member type. This value is assigned to the DataMember.DataMemberType property.

String columnName

A String value specifying the column name. This value is assigned to the DataMember.ColumnName property.