Skip to main content
A newer version of this page is available. .

BarSeriesView.SideBySideBarLabelPosition Property

Specifies the position for labels of side-by-side bars.

Namespace: DevExpress.WinUI.Charts

Assembly: DevExpress.WinUI.Charts.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(BarLabelPosition.Outside, Handler = "UpdateSeriesLabels")]
public BarLabelPosition SideBySideBarLabelPosition { get; set; }

Property Value

Type Description
BarLabelPosition

A value that identifies a bar label position.

Available values:

Name Description Image
Outside

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

Labels are outside of bars

Center

The label is displayed in the center of the bar.

Labels are in the center of bars

Remarks

Note that labels of stacked bars are always drawn inside of bars.

Example

The following example specifies the position of bar point labels:

<Charts:Series.View>
    <Charts:BarSeriesView ShowLabels="True" 
                          SideBySideBarLabelPosition="Center"/>
</Charts:Series.View>
See Also