{% extends "base.html" %} {% load charts i18n static ui %}{% comment %} Overlay the series (#276): one index's series at every station of the workspace, on a page of its own under Compare an index (the maintainer's decision on #276; no board draws it, so it follows DESIGN.md's chart rules). The workspace's context bar with Compare an index current; a link back to it; the index, codes first, with the CSV; the text summary; the chart in its frame (each drawn station a categorical slot, --chart-1 to --chart-8, in the overview's order, named in the legend; eight at most, chosen with "Choose the stations drawn" when there are more); the stations not shown and why; then the values as a table, every station's, most recent first (the chart's table view). The chart drawn on the server is the chart without JavaScript and in print; with it, charts.js draws the same lines from #overlay-chart-data (the read-out, zoom, move, Show all and PNG and SVG of the view), as the index page does (#283). Context from views_workspace.overlay_page (overlay: an overlay.Overlay, chart_data, overlay_url, csv_url, compare_url, waiting). {% endcomment %} {% block title %}{% blocktranslate with code=code name=space_name %}{{ code }} at each station: {{ name }}{% endblocktranslate %}{% endblock %} {% block head %}{% if chart_data %}{% chart_scripts %}{% endif %}{% endblock %} {% block content %}
{% icon "arrow-left" %}{% translate "Compare an index" %}
{% if waiting %}{{ code }} {% translate "at each station" %}{% translate "The series appear once every station has been calculated." %}
{% else %} {% include "stations/_overlay_chart.html" %} {% endif %}