change weight graph
This commit is contained in:
parent
a1fe007728
commit
f42d5bca64
|
|
@ -144,8 +144,8 @@ if (sPageURL.search("property=t") > -1) {
|
||||||
maxfunc = function(max) { return 100 }
|
maxfunc = function(max) { return 100 }
|
||||||
} else if (sPageURL.search("property=w") > -1) {
|
} else if (sPageURL.search("property=w") > -1) {
|
||||||
label = 'Gewicht';
|
label = 'Gewicht';
|
||||||
minfunc = function(min) { if (min < 1000) { return 0 } else { return min - 1000 } }
|
minfunc = function(min) { if (min < 5000000) { return min - 2000 } else { return min - 1000 } }
|
||||||
maxfunc = function(max) { return max + 1000 }
|
maxfunc = function(max) { return max + 2000 }
|
||||||
} else if (sPageURL.search("property=h") > -1) {
|
} else if (sPageURL.search("property=h") > -1) {
|
||||||
label = 'Luftfeuchtigkeit';
|
label = 'Luftfeuchtigkeit';
|
||||||
minfunc = function(min) { return 0 }
|
minfunc = function(min) { return 0 }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue