BarSeries3D.BarWidth Property
Gets or sets the width of a bar (measured as a fraction of axis units).
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.1.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
Property Value
Type | Description |
---|---|
Double | A Double value that represents 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 3D Bar Series (Side-by-Side Bar and Manhattan Bar). This property’s value is measured as a fraction of an axis measurement unit, allowing bars to be automatically resized when the size of a chart is changed. For instance, if the BarWidth property is set to 1, then the width of every bar will always be equal to the range between two major values on the axis.
Note
When the series type is Side-by-Side, then the distance between bars is defined by the XYDiagram3D.BarDistance and XYDiagram3D.BarDistanceFixed properties.