Back to Devexpress

CandleStickSeries2D.FillMode Attached Property

wpf-devexpress-dot-xpf-dot-charts-dot-candlestickseries2d-bcbb42d4.md

latest3.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

See GetFillMode(ReductionStockOptions) and SetFillMode(ReductionStockOptions, CandleStickFillMode).

Returns

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

ValueDescriptionImage
CandleStickFillMode.AlwaysEmptyCandles are always empty.
CandleStickFillMode.AlwaysFilledCandles are always filled.
CandleStickFillMode.FilledOnIncreaseA candle is filled if its close value is greater than its open value.
CandleStickFillMode.FilledOnReductionA candle is filled if its open value is greater than its close value.

Example

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

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

See Also

GetFillMode(ReductionStockOptions)

SetFillMode(ReductionStockOptions, CandleStickFillMode)

CandleStickSeries2D Class

CandleStickSeries2D Members

DevExpress.Xpf.Charts Namespace