Version

LabelPosition Property (DataLabel)

Returns or sets a value which determines the label's position as relative to the series bar/line.
Syntax
public DataLabelPosition LabelPosition {get; set;}
Remarks

When this property is set to Custom, the position is determined by the values of the Left and Top properties.

When a custom label position is assigned, connecting lines appear between the label and its respective DataPoint. These lines are referred to as 'leader lines'; use the Series.LeaderLines property to control their appearance.

Note that leader lines can be hidden by setting the SeriesDataLabels.ShowLeaderLines property to false.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also