CustomDrawSeriesEventArgs.DrawOptions Property
In This Article
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Draw |
A Draw |
#Examples
This example shows how to change the color of each series point according to its values.
In addition, the point labels text is changed to show the color of the current interval (Green, Yellow, or Red).
To accomplish this, it is necessary to invoke the ChartControl.CustomDrawSeriesPoint event and change its drawing options in the CorrectDrawOptions() method.
In this example, you can deactivate the "Custom Draw" option on the stack panel to return to the default appearance of series points.
See Also