Fix bug #711 range not set

pull/725/head
Andrew Watkins 2017-01-04 15:55:17 -08:00
parent 5464230c1b
commit cb5e3edc89
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}