From 3a0fe29ede8f0c25c18e69cd88b5e053f91c1dad Mon Sep 17 00:00:00 2001 From: Erikas Date: Thu, 11 Jul 2024 20:32:12 +0300 Subject: [PATCH] disable animations for better performance --- static/js/benchmark.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/static/js/benchmark.js b/static/js/benchmark.js index c890306..4183efb 100644 --- a/static/js/benchmark.js +++ b/static/js/benchmark.js @@ -1,4 +1,15 @@ -// Define a set of colors to be used for the charts +Highcharts.setOptions({ + chart: { + animation: false + }, + plotOptions: { + series: { + animation: false + } + } +}); + + var colors = Highcharts.getOptions().colors; function getLineChartOptions(title, description, unit, maxY = null) {