Show graph minutes, since we now have a smaller resolution
This commit is contained in:
@@ -288,7 +288,7 @@ angular.module('Application').controller('SystemController', ['$scope', '$locati
|
||||
var datapoints = data.datapoints.map(function (d) { return parseInt((d[0] / valueDivider).toFixed(2)); });
|
||||
var labels = datapoints.map(function (d, index) {
|
||||
var dateTime = new Date(Date.now() - ((timePeriod - (index * timeBucketSize)) * 60 *1000));
|
||||
return ('0' + dateTime.getHours()).slice(-2) + ':00';
|
||||
return ('0' + dateTime.getHours()).slice(-2) + ':' + ('0' + dateTime.getMinutes()).slice(-2);
|
||||
});
|
||||
|
||||
var datasets = [{
|
||||
|
||||
Reference in New Issue
Block a user