{% extends "base.html" %} {% block title %} Sites » {{site.name}} {% endblock %} {% block nav %} » Sites » {{site.name}} » Generation Graph {% endblock %} {% block content %}

HH graph of site use

For months finishing at the end of {{input_date('finish', finish_date, 'month')}}
{{title.text}} {% for graph_name in graph_names %} {% set graph = graphs[graph_name] %} {{graph.title}} {% for supply in graph.supplies.values() %} {% set legend_y = 13 * loop.index0 + 8 %} {{supply.text}} {% endfor %} {% for hh in graph.pos_hhs %} {%- endfor %} {% for hh in graph.neg_hhs %} {%- endfor %} kW {% for scale_line in graph.scale_lines %} {{scale_line.text}} {% endfor %} {% for scale_value in graph.monthly_scale_values %} {{scale_value.text}} {% endfor %} {% for tick in graph.ticks %} {% endfor %} {% for hh in graph.pos_hhs %} {{hh.value}} kW @ {{hh.start_date|hh_format}} {%- endfor %} {% for hh in graph.neg_hhs %} -{{hh.value}} kW @ {{hh.start_date|hh_format}} {%- endfor %} {% for day in days %} {{day.text}} {%- endfor %} {% for month_point in month_points %} {{month_point.text}} {%- endfor %} {% if graph_name == 'used' %} Poor data is denoted by a grey background and black foreground. {% endif %} {%- endfor %}
{% endblock %}