Back to Devexpress

SideBySideStackedBarSeriesView.EqualBarWidth Property

corelibraries-devexpress-dot-xtracharts-dot-sidebysidestackedbarseriesview-1658566f.md

latest2.3 KB
Original Source

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.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 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

SideBySideStackedBarSeriesView Class

SideBySideStackedBarSeriesView Members

DevExpress.XtraCharts Namespace