being irresponsive

This commit is contained in:
d3m1g0d
2019-04-16 18:35:42 +02:00
parent dc12b92d5b
commit 2211f7ca95
2 changed files with 4 additions and 1 deletions

View File

@@ -35,6 +35,9 @@ function graphSpectralData(obj, dom) {
label: 'Spectrometer data',
data: Object.values(obj[0])
}]
},
options: {
responsive: false
}
});
}

View File

@@ -17,7 +17,7 @@
<button id="update" class="btn btn-primary m-1 float-right">Get data</button>
<p id="debug">
</p>
<canvas id="spectrogram" width="480px" height="480px"></canvas>
<canvas id="spectrogram" width="640px" height="480"></canvas>
<table class="table table-sm">
<thead class="thead-dark">
<tr>