Chart legend
Rebuild a chart's legend so it names every layer the chart actually draws.
Steps
- List the layers in the chart source under
charts/. - Read the current legend block at the foot of the chart.
- Report each layer with no legend entry, and each entry with no layer.
Keep the legend order the same as the draw order; a legend that reorders
the layers reads as a different chart.