Update auto-resize function for responsive
{% endfor %}
{% endif %}
{% endif %}
+ {% if c.width.endswith('%') %}
+ window.addEventListener('resize', function(){
+ chart_{{ c.chart_id }}.resize();
+ })
+ {% endif %}
</script>
{%- endmacro %}
