From 2ef9508feea2fee4028860c1a6baa49923669413 Mon Sep 17 00:00:00 2001 From: Joerg Lehmann Date: Wed, 4 Mar 2020 19:28:05 +0100 Subject: [PATCH] change range in graph --- snippets/graph.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/graph.html b/snippets/graph.html index a041a6b..92dae7b 100644 --- a/snippets/graph.html +++ b/snippets/graph.html @@ -180,7 +180,7 @@ function drawGraph(deveui, alias, property, start, stop, create_graph) { $("#btn_w").addClass("is-success"); label = 'Gewicht'; mysubtitle = 'Gewicht in Kilogramm'; - minfunc = function(min) { if (min > 40000) { return min - 2000 } else { return 0 } } + minfunc = function(min) { if (min > 5000) { return min - 2000 } else { return 0 } } maxfunc = function(max) { return max + 2000 } labels = { formatter: function(val, index) {