We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b4b3ad commit 8e85d45Copy full SHA for 8e85d45
examples/vibration-anomaly-detection/assets/app.js
@@ -27,7 +27,8 @@ function drawPlot() {
27
canvas.width = currentWidth;
28
canvas.height = currentHeight;
29
}
30
-
+ // Clear the canvas before drawing the new frame!
31
+ ctx.clearRect(0, 0, currentWidth, currentHeight);
32
// All grid lines (every 0.5) - same size
33
ctx.strokeStyle = '#31333F99';
34
ctx.lineWidth = 0.5;
0 commit comments