Skip to main content

SideBySideGanttSeriesView.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.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

[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 Gantt 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 Gantt series view affects the EqualBarWidth property in all other Side-by-Side Gantt 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.

See Also