Skip to main content
A newer version of this page is available. .

SideBySideStackedBarSeriesView.EqualBarWidth Property

Gets or sets a value indicating whether all bars of the same series should always have the same width, or they may have different widths, if some points of other series are missing.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.1.dll

Declaration

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

Property Value

Type Description
Boolean

true if all bars of the same series should always have the same width; otherwise, false.

Remarks

Use the EqualBarWidth to manually control whether neighboring bars should be extended to fill the empty area, when some bars are missing in the same data point.

Note

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

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

See Also