diff --git a/charts-render.js b/charts-render.js index 003ed11..f8d66e6 100644 --- a/charts-render.js +++ b/charts-render.js @@ -1,4 +1,7 @@ function contentLoaded() { + // turn off animations as they can become annoying during typing + //Chart.defaults = { animation: { duration: 0 } }; // 2.x + Chart.defaults.animation.duration = 0; // 4.x var chartElements = document.getElementsByClassName("chartjs");