SideBySideRangeBarSeriesView.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.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public bool EqualBarWidth { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Layout)>
Public Property EqualBarWidth As Boolean

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 Range Bar series which are present in a ChartControl, and all of them always return the same value. So, changing the EqualBarWidth property value for one Side-by-Side Range Bar series view affects the EqualBarWidth property in all other Side-by-Side Range Bar series views.

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.

Implements

DevExpress.Charts.Native.ISideBySideBarSeriesView.EqualBarWidth
See Also