SideBySideFullStackedBar3DSeriesView.BarDistanceFixed Property

Specifies the fixed distance between two bars of different series shown at the same axis value, in pixels.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.2.dll


public int BarDistanceFixed { get; set; }
Public Property BarDistanceFixed As Integer

Property Value

Type Description

An integer value that represents the distance between two neighboring bars, in pixels.


The BarDistanceFixed property specifies the distance between two bars in a Side-by-Side Full-Stacked Bar. This property's value is measured in pixels, and doesn't depend on the size of a Chart.

To specify the distance between two bars as a fraction of axis units, use the SideBySideFullStackedBar3DSeriesView.BarDistance property. If both the BarDistanceFixed and SideBySideFullStackedBar3DSeriesView.BarDistance properties are in effect at the same time, their values are combined together as constant and variable distances.



The BarDistanceFixed property is synchronized in all Side-by-Side Full-Stacked Bar series which are present in a ChartControl, and all of them always return the same value. So, changing the BarDistanceFixed property for any such series, affects the BarDistanceFixed property value in all other similar series.

For the same reason, when trying to set the BarDistanceFixed property before a Series is added to a chart's collection, an ArgumentException is thrown.


See Also