Hover updated

This commit is contained in:
raja.blaze 2019-08-19 16:23:16 +05:30
parent aadb7453e9
commit f3c26a303c
4 changed files with 8 additions and 3 deletions

View File

@ -48,6 +48,8 @@
"BOCKS_COUNT_HOVER" : "Heute Block Count",
"TRANSACTION_FEE_HOVER" : "Heute Transaktionsgebühren insgesamt",
"BLOCK_INTERVAL_HOVER" : "Heute Blockintervall in Sekunden",
"TRANSACTION_LINECHAT_HOVER" : "Heute Gesamtzahl der Transaktionen",
"BLOCK_INTERVAL_BW_BLOCKS_HOVER" : "Letztes Blockintervall in Sekunden",
"BLOCK" : "Block",
"BLOCKS_MINED" : "Blöcke abgebaut",
"TRANSACTION_FEES" : "Transkationsgebühren",

View File

@ -48,6 +48,8 @@
"BOCKS_COUNT_HOVER" : "Today Block Count",
"TRANSACTION_FEE_HOVER" : "Today Total Transaction Fees",
"BLOCK_INTERVAL_HOVER" : "Today Block Interval in Secs",
"TRANSACTION_LINECHAT_HOVER" : "Today Total Transaction Count",
"BLOCK_INTERVAL_BW_BLOCKS_HOVER" : "Last Block Interval in Secs",
"BLOCK" : "Block",
"BLOCKS_MINED" : "Blocks Mined",
"TRANSACTION_FEES" : "Transaction Fees",

View File

@ -406,7 +406,7 @@
<div class="box_shadow">
<div class="blocks">
<h2 class="chart_heading d-inline-block">{{'home.BLOCKSINTERVAL' | translate}}</h2>
<span class="txn_count" *ngIf="this.blockinteval_last">{{
<span class="txn_count" title="{{'home.BLOCK_INTERVAL_BW_BLOCKS_HOVER' | translate}}" *ngIf="this.blockinteval_last">{{
this.blockinteval_last | number
}}</span>
<div class="chart_show">
@ -492,7 +492,7 @@
<div class="box_shadow">
<div class="blocks">
<h2 class="chart_heading d-inline-block">{{'home.TRANSACTIONS_VS_DATE' | translate}}</h2>
<span class="txn_count" *ngIf="this.tg_last">{{
<span class="txn_count" title="{{'home.TRANSACTION_LINECHAT_HOVER' | translate}}" *ngIf="this.tg_last">{{
this.tg_last | number
}}</span>

View File

@ -223,7 +223,8 @@ export class GraphListComponent implements OnInit {
let Ttotalinput = res.response.totalinput;
let Ttotalkernal = res.response.totalkernal;
let Ttotaloutput = res.response.totaloutput;
this.tg_last = Ttotaloutput[Ttotaloutput.length - 1];
let today_date_index = Tdate.indexOf(moment(Date.now()).format('YYYY-MM-DD'));
this.tg_last = Ttotalinput[today_date_index] + Ttotalkernal[today_date_index] + Ttotaloutput[today_date_index];
this.transactionlinechartFunc(
Tdate,
Ttotalinput,