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

BarSeriesLabel.Position Property

Specifies the position of series point labels, relative to their corresponding Bars.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[XtraSerializableProperty]
public BarSeriesLabelPosition Position { get; set; }

Property Value

Type Description
BarSeriesLabelPosition

A BarSeriesLabelPosition enumeration value, specifying the position of labels relative to Bars.

Available values:

Name Description
Auto

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

Top

Labels are displayed above Bars.

BarSeriesLabelPosition_Top

Center

Labels are displayed in the center of Bars.

BarSeriesLabelPosition_Cent

TopInside

Labels are displayed inside Bars, at the top.

BarSeriesLabelPosition_TopInside

BottomInside

Labels are displayed inside Bars, at the bottom.

BarSeriesLabelPosition_BottomInside

Remarks

When the Position property is set to Top, the lines that connect labels with their corresponding points become visible, and the following properties become available: SeriesLabelBase.LineColor, SeriesLabelBase.LineLength, SeriesLabelBase.LineStyle and SeriesLabelBase.LineVisible.

And, when the Position property is set to TopInside or BottomInside, the BarSeriesLabel.Indent property becomes available, to specify the required indent between a label and the corresponding side of a Bar.

See Also