wpf-devexpress-dot-xpf-dot-charts-dot-candlestickseries2d-bcbb42d4.md
Gets or sets a value specifying how the Candle Stick points will be filled.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
See GetFillMode(ReductionStockOptions) and SetFillMode(ReductionStockOptions, CandleStickFillMode).
| Type | Description |
|---|---|
| CandleStickFillMode |
The specified fill mode.
|
This property is the attached property of the ReductionStockOptions class.
To specify the FillMode property, use the CandleStickFillMode enumeration values. The following table lists all the possible values of the property.
| Value | Description | Image |
|---|---|---|
| CandleStickFillMode.AlwaysEmpty | Candles are always empty. | |
| CandleStickFillMode.AlwaysFilled | Candles are always filled. | |
| CandleStickFillMode.FilledOnIncrease | A candle is filled if its close value is greater than its open value. | |
| CandleStickFillMode.FilledOnReduction | A candle is filled if its open value is greater than its close value. |
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>
See Also
GetFillMode(ReductionStockOptions)