Skip to main content
A newer version of this page is available. .

BarSeriesView.BarWidth Property

Specifies the width of bars in Bar series, as a fraction of axis units.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[XtraSerializableProperty]
[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public double BarWidth { get; set; }

Property Value

Type Description
Double

A Double value that specifies the bar’s width in fractions of 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 BarWidth property specifies the bar width for all Bar series, as a fraction of an axis measurement unit (the value that the NumericScaleOptions.MeasureUnit or DateTimeScaleOptions.MeasureUnit property specifies). This means that the distance is auto-adjusted when the chart is resized.

BarSeriesView.BarWidth.png

For 3D Bar series, the width of bars is specified via the Bar3DSeriesView.BarWidth property.

See Also