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

Bar2DLabelPosition Enum

Lists the values used to specify the position of bar labels.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public enum Bar2DLabelPosition

#Members

Name Description
Outside

The label is displayed outside the bar (on top for positive values, and on the bottom for negative values).

BarSeriesLabelPosition_Outside

Center

The label is displayed in the center of the bar.

BarSeriesLabelPosition_Center

Auto

Enables the algorithm which calculates the label position inside bars with respect to chart size.

#Remarks

The values listed by this enumeration are used to set the BarSideBySideSeries2D.LabelPosition property.

Note

In the Auto mode, the label position can be either “Inside” or “Outside” depending on the bar’s size.

See Also