Skip to main content

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

[XtraSerializableProperty]
public ReductionColorMode ColorMode { get; set; }

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.

PreviousToCurrentPoint

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).

OpenToCloseValue

Property Paths

You can access this nested property as listed below:

Object Type Path to ColorMode
FinancialDrawOptions
.ReductionOptions .ColorMode
FinancialSeriesViewBase
.ReductionOptions .ColorMode

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). OpenToCloseValue
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. PreviousToCurrentPoint
See Also