{# the canvas is absolutely placed so the chart can grow to fill a taller card without a resize loop #}
{% if center %}
{{ center.value }}
{{ __(center.label) }}
{% endif %}
{% if legend %}
{% for item in legend %}
-
{{ __(item.label) }}
{{ item.value | number }} ({{ item.percent }}%)
{% endfor %}
{% endif %}