Tip #123 - Exporting a Legend

Legends are an integral part of any chart; without it, the readers will be lost.

When exporting individual charts using the exporter, the legend outside of the chart will not be exported along with the chart. One trick you can use is to put the legend inside the bounding box of the chart. This will allow the chart and legend to be exported as one with the legend INSIDE the chart.

In cases when you want to export the chart with the legend OUTSIDE the chart, simply use the “Before Export” event to move the legend inside the bounding box only when exporting.

Click on the image to enlarge it

1 Like