incorrect logic (#876)
This commit is contained in:
parent
4f0ffa1d30
commit
8cb951f924
@ -24,7 +24,7 @@
|
|||||||
value = Math.abs(value);
|
value = Math.abs(value);
|
||||||
|
|
||||||
// auto-scale "high" is not provided
|
// auto-scale "high" is not provided
|
||||||
if (high <= 0) {
|
if (high > 0) {
|
||||||
barGraphHigh = high;
|
barGraphHigh = high;
|
||||||
} else if (value > barGraphHigh || now - barGraphHighLast > 10000) {
|
} else if (value > barGraphHigh || now - barGraphHighLast > 10000) {
|
||||||
barGraphHigh = value;
|
barGraphHigh = value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user