{% import "v4_utils.html" as v4_utils %} {% import "utils.html" as utils %} {% set machine = run.machine %} {% extends "layout.html" %} {% set components = [(ts.name, v4_url_for("v4_overview")), ('machine', v4_url_for("v4_machine", id=machine.id))] %} {% block head %} {% endblock %} {% block title %}Graph{% endblock %} {# Add JS to initialize the graph. #} {% block onload %}init(){% endblock %} {% block javascript %} function init() { graph = new Graph2D("graph"); graph.clearColor = [1, 1, 1]; {% for plot in graph_plots %} {{ plot }} {% endfor %} {% if use_day_axis %} graph.xAxis.format = graph.xAxis.formats.day; {% else %} graph.xAxis.format = graph.xAxis.formats.normal; {% endif %} graph.draw(); } {% endblock %} {% block body %} {% call v4_utils.v4_run_page(ts, machine, run, compare_to, neighboring_runs) %} {{ utils.render_popup_begin('view_options', 'View Options', true) }}
{{ utils.render_popup_end() }}
| |||||||
Shift-Left Mouse: Pan Alt/Meta-Left Mouse: Zoom Wheel: Zoom (Shift Slows) |
Plots: {{ num_plots }}
Num Points: {{ num_points }}
{% endcall %}
{% endblock %}