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. |
Center | Labels are displayed in the center of Bars. |
TopInside | Labels are displayed inside Bars, at the top. |
BottomInside | Labels are displayed inside Bars, at the bottom. |
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.