Series.ColorDataMember Property

Gets or sets the name of the data member on which the color of a series point is based.

Namespace: DevExpress.Xpf.Charts

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

Declaration

public string ColorDataMember { get; set; }
Public Property ColorDataMember As String

Property Value

Type Description
String

A String value, that is the name of a data member.

Remarks

Note when a series template is used to generate series, you need to handle the ChartControl.BoundDataChanged event to set colors for all series when data is changed. To change colors one by one, handle the ChartControl.CustomDrawSeries event.

Implements

DevExpress.Charts.Native.ISeriesDataAdapter.ColorDataMember
See Also