XYDiagram2D.BarDistanceFixed Property
Gets or sets the fixed distance value (in pixels) between two bars of different 2D Bar Series shown at the same argument point.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.1.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
Property Value
Type | Description |
---|---|
Int32 | An integer value that represents the distance between two neighboring bars, in pixels. |
Remarks
The BarDistanceFixed property is introduced by the XYDiagram2D class, to synchronize it in all 2D Side-by-Side Bar series which are present in a chart.
The BarDistanceFixed property specifies the distance between two bars in a 2D Side-by-Side Bar series. This property’s value is measured in pixels, allowing the distance set to remain the same when the size of a chart is changed.
To specify the distance between two bars as a fraction of axis units, use the XYDiagram2D.BarDistance property. If both the BarDistanceFixed and XYDiagram2D.BarDistance properties are in effect at the same time, their values are combined together as constant and variable distances.