added table fillers

This commit is contained in:
d3m1g0d
2019-04-17 17:07:44 +02:00
parent c78ed7323a
commit 863b998eae
2 changed files with 4 additions and 3 deletions

View File

@@ -12,8 +12,9 @@ function updateData () {
globalObject = data;
})
.done(function () {
fillTable(globalObject, $('table'));
fillTable(globalObject, $('#specter'));
graphSpectralData(globalObject, $('#spectrogram'));
fillLuxUv(globalObject, $('#luxuv'));
});
}

View File

@@ -19,7 +19,7 @@
<h3>Spectrogram</h3>
<canvas id="spectrogram" width="640px" height="480"></canvas>
<h3>Spectral readings</h3>
<table class="table table-sm">
<table class="table table-sm" id="specter">
<thead class="thead-dark">
<tr>
<th>Band</th>
@@ -119,7 +119,7 @@
</tr>
</table>
<br>
<table class="table">
<table class="table" id="luxuv">
<thead class="thead-dark">
<tr>
<th>Parameter</th>