{% if preview %}
{{ sample }}
{% elif b.circular %}
{# A pie keeps the height of a bar chart: square, it would fill a wide column. #}
{% include 'gentelella/widgets/chartjs.html' with graph_url=url dataparams='style="position: relative; height: 300px"' %}
{% else %}
{% include 'gentelella/widgets/chartjs.html' with graph_url=url %}
{% endif %}