fix, should fill null at end timestamp

This commit is contained in:
Mitsuhiro Tanda 2016-01-12 02:58:51 +09:00
parent afa539368f
commit ff8b25a50a

View File

@ -230,7 +230,7 @@ function (angular, _, moment, dateMath) {
});
var endTimestamp = end * 1000;
for (var t = baseTimestamp; t < endTimestamp; t += stepMs) {
for (var t = baseTimestamp; t <= endTimestamp; t += stepMs) {
dps.push([null, t]);
}