Fix bug #711 range not set
parent
5464230c1b
commit
cb5e3edc89
|
@ -220,7 +220,7 @@ function getRange(timeSeries, override, value = null, rangeValue = null) {
|
|||
min = val;
|
||||
}
|
||||
|
||||
if (val) {
|
||||
if (typeof val === "number") {
|
||||
min = Math.min(min, val);
|
||||
max = Math.max(max, val);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue