ReductionStockOptions.ColorMode Property
Gets or sets the mode used to colorize the financial series points.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.2.dll
NuGet Package: DevExpress.Wpf.Charts
#Declaration
public ReductionColorMode ColorMode { get; set; }
#Property Value
Type | Description |
---|---|
Reduction |
The specified color mode. |
Available values:
Name | Description |
---|---|
Previous |
Points are colorized with color specified by the Reduction |
Open |
Points are colorized with a color defined by the Reduction |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Color |
---|---|
Financial |
|
#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 |
---|---|---|
Reduction |
Points are colorized with a color defined by the Reduction |
![]() |
Reduction |
Points are colorized with color specified by the Reduction |
![]() |
#Example
The following example demonstrates how to specify the Candle Stick chart’s fill mode and color mode.
<dxc:CandleStickSeries2D.ReductionOptions>
<dxc:ReductionStockOptions ColorMode="OpenToCloseValue"
dxc:CandleStickSeries2D.FillMode="FilledOnReduction"/>
</dxc:CandleStickSeries2D.ReductionOptions>