keep older value longer
This commit is contained in:
parent
ab7aa00747
commit
4e46682489
@ -23,7 +23,7 @@
|
|||||||
value = Math.abs(value);
|
value = Math.abs(value);
|
||||||
|
|
||||||
if (high != 0) barGraphHigh = high;
|
if (high != 0) barGraphHigh = high;
|
||||||
else if (value > barGraphHigh || now - barGraphHighLast > 5000) {
|
else if (value > barGraphHigh || now - barGraphHighLast > 10000) {
|
||||||
barGraphHigh = value;
|
barGraphHigh = value;
|
||||||
barGraphHighLast = now;
|
barGraphHighLast = now;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user