SideBySideBar3DSeriesView.BarDistance Property
Gets or sets the variable distance value (as a fraction of axis units) between two bars of different series shown at the same argument point.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public double BarDistance { get; set; }
#Property Value
Type | Description |
---|---|
Double | A Double value that represents the distance between two neighboring bars as a fraction of axis units, where an axis unit is the distance between two major values on the axis. |
#Remarks
The BarDistance property specifies the distance between two bars in a 3D Side-by-Side Bar series. This property’s value is given as a fraction, allowing the distance to be automatically resized when the size of the Chart is changed. For instance, if the BarDistance property is set to 0.5, then the distance between the two bars will be always equal to half the range between the two major values on the axis.
To specify the distance between two bars in pixels, use the SideBySideBar3DSeriesView.BarDistanceFixed property. If both the BarDistance and SideBySideBar3DSeriesView.BarDistanceFixed properties are specified, their values are accumulated together as constant and variable distances.
Note
The Bar
For the same reason, when trying to set the Bar