Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XYDiagram2D.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.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

#Declaration

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

The EqualBarWidth property is introduced by the XYDiagram2D class, to synchronize it in all 2D Side-by-Side Bar series which are present in a chart.

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

See Also