corelibraries-devexpress-dot-xtracharts-dot-candlestickreductionoptions.md
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
public CandleStickFillMode FillMode { get; set; }
Public Property FillMode As CandleStickFillMode
| Type | Description |
|---|---|
| CandleStickFillMode |
The specified fill mode.
|
Available values:
| Name | Description |
|---|---|
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to FillMode |
|---|---|
| CandleStickDrawOptions |
.ReductionOptions .FillMode
| | CandleStickSeriesView |
.ReductionOptions .FillMode
|
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 or equal to its open value. | |
| CandleStickFillMode.FilledOnReduction | A 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
view.ReductionOptions.ColorMode = ReductionColorMode.OpenToCloseValue
view.ReductionOptions.FillMode = CandleStickFillMode.AlwaysEmpty
view.ReductionOptions.Level = StockLevel.Close
See Also
CandleStickReductionOptions Class