{% load add_to_qs %}
{% if event_sparkline %}
{% for sparkline_variant in event_sparkline.variants %}
{% if not event_sparkline_interval_hours or sparkline_variant.interval_hours == event_sparkline_interval_hours %}
{# y-axis #}
{# basic idea: first and last are half-cells, middle are full-width; this way the outermost labels are aligned with the outsides #}
{% for y_label in sparkline_variant.y_labels %}
{% if forloop.first %}
{#-- top half-cell #}