Back to Devexpress

CandleStickReductionOptions.FillMode Property

corelibraries-devexpress-dot-xtracharts-dot-candlestickreductionoptions.md

latest4.5 KB
Original Source

CandleStickReductionOptions.FillMode Property

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

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public CandleStickFillMode FillMode { get; set; }
vb
Public Property FillMode As CandleStickFillMode

Property Value

TypeDescription
CandleStickFillMode

The specified fill mode.

|

Available values:

NameDescription
FilledOnReduction

A candle is filled if its open value is greater than its close value.

| | FilledOnIncrease |

A candle is filled if its close value is greater than or equal to its open value.

| | AlwaysEmpty |

Candles are always empty.

| | AlwaysFilled |

Candles are always filled.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to FillMode
CandleStickDrawOptions

.ReductionOptions .FillMode

| | CandleStickSeriesView |

.ReductionOptions .FillMode

|

Remarks

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 or equal to its open value.
CandleStickFillMode.FilledOnReductionA candle is filled if its open value is greater than its close value.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FillMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-chart-create-candlestick-chart/VB/CandleStickChart/Form1.vb#L34

vb
view.ReductionOptions.ColorMode = ReductionColorMode.OpenToCloseValue
view.ReductionOptions.FillMode = CandleStickFillMode.AlwaysEmpty
view.ReductionOptions.Level = StockLevel.Close

See Also

CandleStickReductionOptions Class

CandleStickReductionOptions Members

DevExpress.XtraCharts Namespace