aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/graph.js
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js/app/graph.js')
-rw-r--r--interface/js/app/graph.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/graph.js b/interface/js/app/graph.js
index 9ae6a9297..20fa36f53 100644
--- a/interface/js/app/graph.js
+++ b/interface/js/app/graph.js
@@ -175,7 +175,7 @@ function($, D3Evolution, unused) {
// Autoranging
var scaleFactor = 1;
var unit = "msg/s";
- const yMax = d3.max(d3.merge(data), function (d) { return d.y; });
+ var yMax = d3.max(d3.merge(data), function (d) { return d.y; });
if (yMax < 1) {
scaleFactor = 60;
unit = "msg/min";