Skip to main content

BoxPlotSeriesView.BoxDistanceFixed Property

Gets or sets the fixed distance value (in pixels) between two points of different Box Plot series shown at the same argument point.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public int BoxDistanceFixed { get; set; }

Property Value

Type Description
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 Box Plot series. This property’s value is measured in pixels, and does not depend on the size of a Chart.

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

Note

The BarDistanceFixed property is synchronized in all Box Plot series in a ChartControl, and all of them always return the same value. If you change the distance between two points for one Box Plot series view, it will affect the BarDistanceFixed property in all other Box Plot series views.

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