CandleStickSeries2D.FillMode Attached Property

Gets or sets a value specifying how the Candle Stick points will be filled.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v21.2.dll

Declaration

Returns

Type Description
CandleStickFillMode

The specified fill mode.

Remarks

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_AlwaysEmpty
CandleStickFillMode.AlwaysFilled Candles are always filled. CandleStickFillMode_AlwaysFilled
CandleStickFillMode.FilledOnIncrease A candle is filled if its close value is greater than its open value. CandleStickFillMode_FilledOnIncrease
CandleStickFillMode.FilledOnReduction A candle is filled if its open value is greater than its close value. CandleStickFillMode_FilledOnReduction

Example

The following example demonstrates how to specify the Candle Stick chart’s fill mode and color mode.

View Example

<dxc:CandleStickSeries2D.ReductionOptions>
    <dxc:ReductionStockOptions ColorMode="OpenToCloseValue" 
                               dxc:CandleStickSeries2D.FillMode="FilledOnReduction"/>
</dxc:CandleStickSeries2D.ReductionOptions>
See Also