XL_DATA_LABEL_POSITION¶Specifies where the data label is positioned.
Example:
from pptx.enum.chart import XL_LABEL_POSITION
data_labels = chart.plots[0].data_labels
data_labels.position = XL_LABEL_POSITION.OUTSIDE_END
The data label is positioned above the data point.
The data label is positioned below the data point.
Word sets the position of the data label.
The data label is centered on the data point or inside a bar or a pie slice.
The data label is positioned inside the data point at the bottom edge.
The data label is positioned inside the data point at the top edge.
The data label is positioned to the left of the data point.
Data labels are in multiple positions.
The data label is positioned outside the data point at the top edge.
The data label is positioned to the right of the data point.