Pie: Legend Center

`%%{init: {"pie": {"legendPosition": "center"}}}%%` draws the legend over the middle of the pie, centred, without resizing the frame. The ASCII bar chart keeps its legend beside the bars, so it is unchanged.

pie-legend-center.mmd
%%{init: {"pie": {"legendPosition": "center"}}}%%
pie title Pets adopted by volunteers
  "Dogs" : 386
  "Cats" : 85
  "Rats" : 15
Output
Pie chart, Zombie Mermaid 79% 17% 3% Pets adopted by volunteers Dogs Cats Rats

More Pie chart examples