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.v18.2.dll
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ColorDataMember 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.