{#- Bars are plain boxes, so each can show its own value on hover; a line chart is drawn in SVG. The lines across fall on round numbers. -#}

{{ widget.title }}

{% if data.points %}{{ _('Highest {value}', value=data.highest) }}{% endif %}
{% if data.points %} {% set top = (data.points|max(attribute="height")).height %} {#- The same numbers for screen readers, which cannot read the drawing. The wrapper hides them: a table grows to fit its rows whatever size it is given, so "sr-only" on the table itself left it full height, and it stretched the page past the window. -#}
{% for point in data.points %} {% endfor %}
{{ widget.title }}
{{ point.label }}{{ point.value }}
{% else %}

{{ _('No data yet.') }}

{% endif %}