Back to Devexpress

SideBySideGanttSeriesView.EqualBarWidth Property

corelibraries-devexpress-dot-xtracharts-dot-sidebysideganttseriesview-bb145709.md

latest2.4 KB
Original Source

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

NuGet Package : DevExpress.Charts

Declaration

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

Property Value

TypeDescription
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

SideBySideGanttSeriesView Class

SideBySideGanttSeriesView Members

DevExpress.XtraCharts Namespace