Merge pull request #256 from bobrik/undefined-length-fix

Fixed annoying undefined length error
This commit is contained in:
Torkel Ödegaard 2014-03-31 12:35:38 -04:00
commit 75fc0c7017

View File

@ -318,9 +318,9 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
if (last - from < -10000) {
$scope.datapointsOutside = true;
}
}
$scope.datapointsCount += datapoints.length;
}
return series;
};