{% import 'macro' as macro %}

{% for chart in charts %}
{{ macro.gen_components_content(chart) }}
{% endfor %}