{% load i18n %}{% comment %} An index page's chart (#237, the Index board), drawn on the server (stations/index_page.py, ``chart``): the base period as a band, the axes with round values and years and the y axis titled with the code and units; Sen's slope's 95% interval shaded, the values as a line (bars for SPI and SPEI), the 11-year running mean, Sen's slope dashed; and the values left out as open points. Its text alternative gives the values and the trend; the table under it is its table view, and the CSV is in the context bar. Parameters: chart, label, view ("values" or "anomaly"), shown (false: hidden until its toggle shows it). {% endcomment %} {% if chart.band %}{% translate "base period" %}{% endif %} {% for tick in chart.y_ticks %}{{ tick.text }}{% endfor %} {% if chart.zero is not None %}{% endif %} {{ chart.y_title }} {% for tick in chart.x_ticks %}{{ tick.text }}{% endfor %} {% if chart.interval %}{% endif %} {% if chart.line %}{% endif %} {% if chart.pos or chart.neg %}{% endif %} {% if chart.smooth %}{% endif %} {% if chart.trend %}{% endif %} {% for gap in chart.gaps %}{% endfor %}