Back to Devexpress

SideBySideFullStackedBarSeriesView.BarDistanceFixed Property

corelibraries-devexpress-dot-xtracharts-dot-sidebysidefullstackedbarseriesview-965ed07f.md

latest3.2 KB
Original Source

SideBySideFullStackedBarSeriesView.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.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public int BarDistanceFixed { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Layout)>
Public Property BarDistanceFixed As Integer

Property Value

TypeDescription
Int32

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

|

Remarks

The BarDistanceFixed property specifies the distance between two bars in a Side-by-Side Full-Stacked Bar series, in pixels. This means that the distance doesn’t change when the chart is being resized.

To specify this distance in axis units , use the SideBySideFullStackedBarSeriesView.BarDistance property. If the BarDistanceFixed and SideBySideFullStackedBarSeriesView.BarDistance properties are in effect simultaneously, their values are accumulated together, expressing constant and variable distances.

Note

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

BarDistance

BarWidth

SideBySideFullStackedBarSeriesView Class

SideBySideFullStackedBarSeriesView Members

DevExpress.XtraCharts Namespace