Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CandleStickSeries2D.CandleWidth Property

Gets or sets a value specifying the width (in axis units) of the candle in 2D Candle Stick series.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public double CandleWidth { get; set; }

#Property Value

Type Description
Double

A Double value which represents the width of a candle in axis units, where an axis unit is the distance between two major values on the axis. This value should be greater than or equal to 0.

#Remarks

The CandleWidth property specifies the width of a candle in 2D Candle Stick series. Since this property’s value is measured as a fraction of axis units, this allows its width to be automatically resized when the size of a chart is changed. For instance, if the CandleWidth property is set to 0.5, then the width of every candle will always be equal to half the range between two major values on the axis.

See Also