XL_LEGEND_POSITION¶Specifies the position of the legend on a chart.
Example:
from pptx.enum.chart import XL_LEGEND_POSITION
chart.has_legend = True
chart.legend.position = XL_LEGEND_POSITION.BOTTOM
Below the chart.
In the upper-right corner of the chart border.
A custom position.
Left of the chart.
Right of the chart.
Above the chart.