Skip to main content

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