{#- 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 %}
{% for tick in data.ticks %}
{{ tick.label }}
{% endfor %}
{% for tick in data.ticks %}
{% endfor %}
{% if data.kind == "line" %}
{% else %}
{% for point in data.points %}
{{ point.label }} ยท {{ point.value }}
{% endfor %}
{% endif %}
{% for label in data.axis %}{{ label }}{% endfor %}
{#- 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. -#}