reduce data points and canvas size

This commit is contained in:
Lewis Moten
2024-05-02 16:22:40 -04:00
parent 439149e741
commit 729aa12681
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
Sample Rate: <span id="audio-context-sample-rate">N/A</span> per second.
</div>
<div>
<canvas id="received-graph" width="800" height="100"></canvas>
<canvas id="received-graph" width="550" height="100"></canvas>
</div>
<div>
<label>

View File

@@ -10,7 +10,7 @@ var receivedDataTextarea;
var sentDataTextArea;
var receivedGraph;
var receivedData = [];
var MAX_DATA_POINTS = 300;
var MAX_DATA_POINTS = 100;
var MAX_DATA = 0;
var pauseTimeoutId;