ReductionStockOptions.ColorMode Property
Gets or sets the mode used to color the financial series points.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.dll
NuGet Package: DevExpress.Charts
Declaration
Property Value
Type | Description |
---|---|
ReductionColorMode | The specified color mode. |
Available values:
Name | Description |
---|---|
PreviousToCurrentPoint | Points are colorized with the color specified by the ReductionStockOptions.Color property if the value of the previous point is greater than the value of the current point (the value is decreased). The StockPointOptions.ValueLevel property specifies the point value that should be compared. |
OpenToCloseValue | Points are colorized with a color defined by the ReductionStockOptions.Color property if the point open value is greater than the point close value (the price is decreased). |
Property Paths
You can access this nested property as listed below:
Object Type | Path to ColorMode |
---|---|
FinancialDrawOptions |
|
FinancialSeriesViewBase |
|
Remarks
To specify this property, use the ReductionColorMode enumeration values. The following table lists all the possible values of the ColorMode property.
Value | Description | Image |
---|---|---|
ReductionColorMode.OpenToCloseValue | Points are colorized with a color defined by the ReductionStockOptions.Color property if the point open value is greater than the point close value (the price is decreased). | |
ReductionColorMode.PreviousToCurrentPoint | Points are colorized with the color specified by the ReductionStockOptions.Color property if the value of the previous point is greater than the value of the current point (the value is decreased). The StockPointOptions.ValueLevel property specifies the point value that should be compared. |