Renderer for pie chart diagrams as horizontal bar charts.
Draws a stacked summary bar at the top, then per-slice horizontal bars
with percentage labels. Uses Boxart.Canvas for rendering.
Summary
Functions
@spec render( Boxart.Render.PieChart.PieChart.t(), keyword() ) :: String.t()
Renders a PieChart to a string.
Options
:charset—:unicode(default) or:ascii
@spec render_canvas( Boxart.Render.PieChart.PieChart.t(), keyword() ) :: Boxart.Canvas.t()
Renders a PieChart to a Boxart.Canvas.
See Boxart.Utils.rjust/2.