Version

DataLabelPosition Enumeration

Constants which define the location at which a DataLabel is positioned.
Syntax
public enum DataLabelPosition : System.Enum 
Members
MemberDescription
AboveThe label is positioned above the associated data point.
BelowThe label is positioned below the associated data point.
BestFitThe label is positioned where it best fits with relation to the associated pie slice.
CenterThe label is centered with respect to the associated data point.
CustomThe label's position is explicitly defined via the ChartTextAreaBase.Left and ChartTextAreaBase.Top properties.
DefaultThe label position is not specified, and is determined automatically by Excel.
InsideBaseThe label's left edge coincides with the left edge of the series bar/line.
InsideEndThe label's right edge coincides with the right edge of the series bar/line.
LeftThe label is positioned to the left of the associated data point.
OutsideEndThe label's left edge coincides with the right edge of the series bar/line.
RightThe label is positioned to the right of the associated data point.
Remarks

Note that which constants in this enumeration are applicable is dependent on the chart type.

The following table lists the supported constants for each chart type.

Chart Type Supported Constant(s)
3D charts (except pie/doughnut) Custom
Area, Radar Custom
Surface Data labels are not supported
Bar/Column (stacked) Center, InsideEnd, InsideBase
Bar/Column (clustered) Center, InsideEnd, InsideBase, OutsideEnd
Line/Scatter/Bubble Center, Left, Right, Above, Below
Pie/Doughnut Center, InsideEnd, OutsideEnd, BestFit

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