diff --git a/static/poopGraph.js b/static/poopGraph.js index 6620d13..bd8f63b 100644 --- a/static/poopGraph.js +++ b/static/poopGraph.js @@ -170,6 +170,9 @@ function plot(data) { errorBarWhiskerSize: 5, }, }, + animation: { + duration: 0, + }, }; }; @@ -293,8 +296,10 @@ function plot(data) { const update = () => { updateYMax(); - northChart.update(); - southChart.update(); + setTimeout(() => { + northChart.update(); + southChart.update(); + }, 10); const params = new URLSearchParams(); const start = startInput.value;