Page tree
Skip to end of metadata
Go to start of metadata

Description

The possible positions of a data label relative to its data point.

C#
vb.net

Remarks

Icon

If you attempt to use a DataLabelPlacementType that does not correspond with the series' ChartType, you will receive the error "Error setting Data Label Placement: The data label placement type is not valid for this type of chart".

Examples

C#
vb.net

Values

Name

Description

Default

The default data label position for column, bar, bubble, doughnut, line, and scatter charts

OutsideEnd

Places the data label on the outside of the data point in pie, column, and bar charts

InsideEnd

Places the data label inside the data point, near its edge in column, bar, and pie charts

Center

Places the data label in the center of the data point in bubble, line, and scatter charts

InsideBase

Places the data label on the inside of the data point, near its base in column and bar charts

Above

Places the data label above the data point in bubble, line, and scatter charts

Below

Places the data label below the data point in bubble, line, and scatter charts

Left

Places the data label to the left of the data point in bubble, line, and scatter charts

Right

Places the data label to the right of the data point in bubble, line, and scatter charts

Auto

Automatically place the data label depending on the space available. This is only available for pie charts, for which it sets the data label placement to "Best Fit"

MovedByUser

Place the data label at an arbitrary x and y position for any chart type

  • No labels