<script>
    require.config({
        paths: {
            {{ config_items | join(', ') }}
        }
    });
</script>
{% for chart in charts %}
    {{ echarts_container(chart) }}
{% endfor %}


<script>
    require([{{ libraries | join(', ') }}], function(echarts) {
        {{ echarts_js_content_wrap(*charts) }}
    });
</script>
