mirror of
https://github.com/arnaucube/goBlockchainDataAnalysis.git
synced 2026-02-07 03:36:44 +01:00
implemented getLast24HourAnalysis, to show the Tx/Hour of the last 24 hours
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<div class="panel-heading c_blueGrey300">
|
||||
<h3 class="panel-title">Tx/Hour</h3>
|
||||
<h3 class="panel-title">Last 24 hours Tx/Hour</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<canvas id="line" class="chart chart-line" chart-data="data" chart-labels="labels">
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user