being irresponsive
This commit is contained in:
@@ -35,6 +35,9 @@ function graphSpectralData(obj, dom) {
|
|||||||
label: 'Spectrometer data',
|
label: 'Spectrometer data',
|
||||||
data: Object.values(obj[0])
|
data: Object.values(obj[0])
|
||||||
}]
|
}]
|
||||||
|
},
|
||||||
|
options: {
|
||||||
|
responsive: false
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<button id="update" class="btn btn-primary m-1 float-right">Get data</button>
|
<button id="update" class="btn btn-primary m-1 float-right">Get data</button>
|
||||||
<p id="debug">
|
<p id="debug">
|
||||||
</p>
|
</p>
|
||||||
<canvas id="spectrogram" width="480px" height="480px"></canvas>
|
<canvas id="spectrogram" width="640px" height="480"></canvas>
|
||||||
<table class="table table-sm">
|
<table class="table table-sm">
|
||||||
<thead class="thead-dark">
|
<thead class="thead-dark">
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user