• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html>
2<html>
3  <head>
4    <title>Metric Results</title>
5
6    <script type="text/javascript" src="static/dygraph-combined.js"></script>
7
8    <link rel="stylesheet" type="text/css" href="static/table-sort.css" />
9    <script type="text/javascript" src="static/table-lib.js"></script>
10
11    <link rel="stylesheet" type="text/css" href="static/ui.css" />
12    <script type="text/javascript" src="static/ui.js"></script>
13  </head>
14
15  <body onload="initMetric(gUrlHash, gTableStates, kStatusElem, globals);"
16        onhashchange="onHashChange(gUrlHash, gTableStates, kStatusElem);">
17    <p id="status"></p>
18
19    <p style="text-align: right">
20      <a href="../home.html">Home</a> /
21      <a href="overview.html">Overview</a> /
22      <a href="histograms.html">Histograms</a>
23    </p>
24
25    <!-- NOTE: There is a metric description here.  Get it from the XML file.
26    -->
27
28    <h1 id="metricName"></h1>  <!-- filled in by JS -->
29
30    <p id="metricDesc"></p>  <!-- filled in by JS -->
31
32    <h2>Estimated Proportions</h2>
33    <p>NOTE: Only the top 5 values for each day are shown</p>
34
35    <!--
36      NOTE: Setting customBars: false removes the entire line?  That's lame.
37    <p>
38      <label>
39        <input type="checkbox" checked="checked"
40               onclick="onMetricCheckboxClick(this, globals.proportionsDygraph);">
41        Show Error Bars
42      </label>
43    </p>
44    -->
45    <p class="dy" id="proportionsDy"></p>
46    <p>
47      Underlying data: <a id="underlying-dist" href="">dist.csv</a>
48    </p>
49
50    <h2>Number of Reports</h2>
51
52    <p class="dy" id="num-reports-dy" align="center"></p>
53    <!-- underlying data here is in status.csv? -->
54
55    <h2>Unallocated Mass</h2>
56
57    <p class="dy" id="mass-dy" align="center"></p>
58
59    <p>
60      Plot Help: Drag horizontally to <b>zoom to selection</b>.  Double click
61      to <b>zoom out</b>.  Shift + drag to <b>pan</b>.
62    </p>
63
64    <h2>Task Status</h2>
65
66    <table id="status_table">
67    </table>
68
69    <p>
70      <!-- link depends on fragment; filled in by JS -->
71      Underlying data: <a id="underlying-status" href="">status.csv</a>
72    </p>
73
74    <!-- page globals -->
75    <script type="text/javascript">
76      var globals = {proportionsDygraph: null};
77      var gUrlHash = new UrlHash(location.hash);
78      var gTableStates = {};
79      var kStatusElem = document.getElementById('status');
80    </script>
81
82  </body>
83</html>
84