{% import "tungsten/components/ui.html" as ui %}
{% if w.heading %}{{ ui.card_heading(__(w.heading), __(w.description) if w.description else none, w.icon, w.icon_color) }}{% else %}{% endif %} {% if filters %} {% endif %}
{# 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 %} {% endif %}