stats display

This commit is contained in:
2016-03-30 01:09:37 +02:00
parent aac5a78974
commit a778eb6d64
19 changed files with 152 additions and 59 deletions
+22 -2
View File
@@ -9,7 +9,7 @@ include "_start.php"; ?>
<input id="count" type="number" value="500">
</div>
<div>
<label for="freq">Freq. <span class="mq-tablet-max" style="font-weight:normal;">(Hz)</span></label>
<label for="freq">Rate <span class="mq-tablet-max" style="font-weight:normal;">(Hz)</span></label>
<input id="freq" type="number" value="4000">
<span class="mq-normal-min">Hz</span>
</div>
@@ -18,8 +18,28 @@ include "_start.php"; ?>
</div>
</div>
<div class="Box medium">
<div class="Box medium chartbox">
<div id="chart" class="ct-chart ct-wide"></div>
<div class="stats invis">
<table>
<tr>
<th>#</th>
<td id="stat-count"></td>
</tr>
<tr>
<th>f<sub>s</sub></th>
<td id="stat-f-s"></td>
</tr>
<tr>
<th>I<sub>peak</sub></th>
<td id="stat-i-peak"></td>
</tr>
<tr>
<th>I<sub>RMS</sub></th>
<td id="stat-i-rms"></td>
</tr>
</table>
</div>
</div>
<script>