Placing and adding space around a legend
Use anchor settings to modify where the legend appears within the chart. To determine how much padding appears between the legend or legend text areas and other chart features, use the inset settings.
To adjust the position of the entire legend area, rather than the client area where the legend items appear, change the legend-position setting. Position a legend relative to the plot. For example,
Figure 17‑72 shows different legend positions in a sample chart.
Figure 17‑72 Legend positions, above, below, and inside the plot
You can also organize legend items within the legend client area. For example, in
Figure 17‑73, the chart on the left shows legend items arranged horizontally. The chart on the right shows legend items arranged vertically. To adjust the positions of legend items in the legend-client area, set the legend orientation.
Figure 17‑73 Horizontal and vertical legend orientation