implemented getLast24HourAnalysis, to show the Tx/Hour of the last 24 hours

This commit is contained in:
arnaucode
2017-08-19 18:31:16 +02:00
parent f88b6021e2
commit 3e83a6bf74
15 changed files with 160 additions and 105 deletions

View File

@@ -37,7 +37,7 @@ angular.module('app.main', ['ngRoute'])
//date analysis
$scope.data = [];
$scope.labels = [];
$http.get(urlapi + 'houranalysis')
$http.get(urlapi + 'last24hour')
.then(function(data, status, headers, config) {
console.log('data success');
console.log(data);