Hover text added
This commit is contained in:
parent
40df505308
commit
aadb7453e9
@ -44,6 +44,10 @@
|
|||||||
"TRANSACTIONS_BY_TIME" : "Transaktionen im Zeitverlauf",
|
"TRANSACTIONS_BY_TIME" : "Transaktionen im Zeitverlauf",
|
||||||
"BLOCKS" : "Blöcke",
|
"BLOCKS" : "Blöcke",
|
||||||
"BLOCKSINTERVAL" : "Intervall-S / W-Blöcke",
|
"BLOCKSINTERVAL" : "Intervall-S / W-Blöcke",
|
||||||
|
"SUPPLY_GROWTH_HOVER" : "Heute Angebotswachstum",
|
||||||
|
"BOCKS_COUNT_HOVER" : "Heute Block Count",
|
||||||
|
"TRANSACTION_FEE_HOVER" : "Heute Transaktionsgebühren insgesamt",
|
||||||
|
"BLOCK_INTERVAL_HOVER" : "Heute Blockintervall in Sekunden",
|
||||||
"BLOCK" : "Block",
|
"BLOCK" : "Block",
|
||||||
"BLOCKS_MINED" : "Blöcke abgebaut",
|
"BLOCKS_MINED" : "Blöcke abgebaut",
|
||||||
"TRANSACTION_FEES" : "Transkationsgebühren",
|
"TRANSACTION_FEES" : "Transkationsgebühren",
|
||||||
|
@ -44,6 +44,10 @@
|
|||||||
"TRANSACTIONS_BY_TIME" : "Transactions over time",
|
"TRANSACTIONS_BY_TIME" : "Transactions over time",
|
||||||
"BLOCKS" : "Blocks",
|
"BLOCKS" : "Blocks",
|
||||||
"BLOCKSINTERVAL" : "Interval B/W Blocks",
|
"BLOCKSINTERVAL" : "Interval B/W Blocks",
|
||||||
|
"SUPPLY_GROWTH_HOVER" : "Today Supply Growth",
|
||||||
|
"BOCKS_COUNT_HOVER" : "Today Block Count",
|
||||||
|
"TRANSACTION_FEE_HOVER" : "Today Total Transaction Fees",
|
||||||
|
"BLOCK_INTERVAL_HOVER" : "Today Block Interval in Secs",
|
||||||
"BLOCK" : "Block",
|
"BLOCK" : "Block",
|
||||||
"BLOCKS_MINED" : "Blocks Mined",
|
"BLOCKS_MINED" : "Blocks Mined",
|
||||||
"TRANSACTION_FEES" : "Transaction Fees",
|
"TRANSACTION_FEES" : "Transaction Fees",
|
||||||
|
@ -115,7 +115,7 @@
|
|||||||
<div class="box_shadow">
|
<div class="box_shadow">
|
||||||
<div class="blocks">
|
<div class="blocks">
|
||||||
<h2 class="chart_heading d-inline-block">{{'home.BLOCKS' | translate}}</h2>
|
<h2 class="chart_heading d-inline-block">{{'home.BLOCKS' | translate}}</h2>
|
||||||
<span class="txn_count" *ngIf="this.brg_last">{{
|
<span class="txn_count" title="{{'home.BOCKS_COUNT_HOVER' | translate}}" *ngIf="this.brg_last">{{
|
||||||
this.brg_last | number
|
this.brg_last | number
|
||||||
}}</span>
|
}}</span>
|
||||||
<div class="chart_show">
|
<div class="chart_show">
|
||||||
@ -170,7 +170,7 @@
|
|||||||
<div class="box_shadow">
|
<div class="box_shadow">
|
||||||
<div class="blocks">
|
<div class="blocks">
|
||||||
<h2 class="chart_heading d-inline-block">{{'home.TRANSACTION_FEES' | translate}}</h2>
|
<h2 class="chart_heading d-inline-block">{{'home.TRANSACTION_FEES' | translate}}</h2>
|
||||||
<span class="txn_count" *ngIf="this.fg_last">{{this.fg_last |number}}</span>
|
<span class="txn_count" title="{{'home.TRANSACTION_FEE_HOVER' | translate}}" *ngIf="this.fg_last">{{this.fg_last |number}}</span>
|
||||||
|
|
||||||
<div class="chart_show">
|
<div class="chart_show">
|
||||||
<epic-explorer-plotly *ngIf="transcationGraphData.data" [data]="transcationGraphData.data"
|
<epic-explorer-plotly *ngIf="transcationGraphData.data" [data]="transcationGraphData.data"
|
||||||
@ -216,7 +216,7 @@
|
|||||||
<div class="box_shadow">
|
<div class="box_shadow">
|
||||||
<div class="blocks">
|
<div class="blocks">
|
||||||
<h2 class="chart_heading d-inline-block">{{'home.SUPPLY_GROWTH' | translate}}</h2>
|
<h2 class="chart_heading d-inline-block">{{'home.SUPPLY_GROWTH' | translate}}</h2>
|
||||||
<span class="txn_count" *ngIf="this.gg_last">{{
|
<span class="txn_count" title="{{'home.SUPPLY_GROWTH_HOVER' | translate}}" *ngIf="this.gg_last">{{
|
||||||
this.gg_last | number
|
this.gg_last | number
|
||||||
}}</span>
|
}}</span>
|
||||||
<div class="chart_show">
|
<div class="chart_show">
|
||||||
@ -262,7 +262,7 @@
|
|||||||
<div class="box_shadow">
|
<div class="box_shadow">
|
||||||
<div class="blocks">
|
<div class="blocks">
|
||||||
<h2 class="chart_heading d-inline-block">{{'home.BLOCKS_MINED' | translate}}</h2>
|
<h2 class="chart_heading d-inline-block">{{'home.BLOCKS_MINED' | translate}}</h2>
|
||||||
<span class="txn_count" *ngIf="this.dg_last">{{
|
<span class="txn_count" title="{{'home.BOCKS_COUNT_HOVER' | translate}}" *ngIf="this.dg_last">{{
|
||||||
this.dg_last | number
|
this.dg_last | number
|
||||||
}}</span>
|
}}</span>
|
||||||
|
|
||||||
@ -352,7 +352,7 @@
|
|||||||
<div class="box_shadow">
|
<div class="box_shadow">
|
||||||
<div class="blocks">
|
<div class="blocks">
|
||||||
<h2 class="chart_heading d-inline-block">Blocks by Algorithm</h2>
|
<h2 class="chart_heading d-inline-block">Blocks by Algorithm</h2>
|
||||||
<span class="txn_count" *ngIf="this.sg_last">{{
|
<span class="txn_count" title="{{'home.BOCKS_COUNT_HOVER' | translate}}" *ngIf="this.sg_last">{{
|
||||||
this.sg_last | number
|
this.sg_last | number
|
||||||
}}</span>
|
}}</span>
|
||||||
|
|
||||||
@ -447,7 +447,7 @@
|
|||||||
<div class="box_shadow">
|
<div class="box_shadow">
|
||||||
<div class="blocks">
|
<div class="blocks">
|
||||||
<h2 class="chart_heading d-inline-block">{{'home.BLOCK_INTERVAL' | translate}}</h2>
|
<h2 class="chart_heading d-inline-block">{{'home.BLOCK_INTERVAL' | translate}}</h2>
|
||||||
<span class="txn_count" *ngIf="this.ag_last">{{ this.ag_last | number }} sec</span>
|
<span class="txn_count" title="{{'home.BLOCK_INTERVAL_HOVER' | translate}}" *ngIf="this.ag_last">{{ this.ag_last | number }} sec</span>
|
||||||
|
|
||||||
<div class="chart_show">
|
<div class="chart_show">
|
||||||
<epic-explorer-plotly *ngIf="areaGraphData.data" [data]="areaGraphData.data" [layout]="areaGraphData.layout">
|
<epic-explorer-plotly *ngIf="areaGraphData.data" [data]="areaGraphData.data" [layout]="areaGraphData.layout">
|
||||||
|
@ -167,8 +167,9 @@ export class GraphListComponent implements OnInit {
|
|||||||
let Cuckoo = res.response.Cuckoo;
|
let Cuckoo = res.response.Cuckoo;
|
||||||
let ProgPow = res.response.ProgPow;
|
let ProgPow = res.response.ProgPow;
|
||||||
let RandomX = res.response.RandomX;
|
let RandomX = res.response.RandomX;
|
||||||
this.sg_last =
|
let today_date_index = sDate.indexOf(moment(Date.now()).format('YYYY-MM-DD'));
|
||||||
RandomX[RandomX.length - 1];
|
this.sg_last = RandomX[today_date_index] + ProgPow[today_date_index] + Cuckoo[today_date_index];
|
||||||
|
//this.sg_last = RandomX[RandomX.length - 1];
|
||||||
this.stackchartFunc(
|
this.stackchartFunc(
|
||||||
sDate,
|
sDate,
|
||||||
Cuckoo,
|
Cuckoo,
|
||||||
@ -299,7 +300,11 @@ export class GraphListComponent implements OnInit {
|
|||||||
let Cuckooper = res.response.Cuckooper;
|
let Cuckooper = res.response.Cuckooper;
|
||||||
let RandomXper = res.response.RandomXper;
|
let RandomXper = res.response.RandomXper;
|
||||||
|
|
||||||
this.dg_last = RandomXper[RandomXper.length - 1];
|
let today_date_index = mDate.indexOf(moment(Date.now()).format('YYYY-MM-DD'));
|
||||||
|
|
||||||
|
this.dg_last = ProgPow[today_date_index] + Cuckoo[today_date_index] + RandomX[today_date_index];
|
||||||
|
|
||||||
|
//this.dg_last = RandomXper[RandomXper.length - 1];
|
||||||
this.blockminedFunc(
|
this.blockminedFunc(
|
||||||
mDate,
|
mDate,
|
||||||
ProgPow,
|
ProgPow,
|
||||||
@ -330,7 +335,9 @@ export class GraphListComponent implements OnInit {
|
|||||||
if (res['status'] == 200) {
|
if (res['status'] == 200) {
|
||||||
let bDate = res.response.date;
|
let bDate = res.response.date;
|
||||||
let bPeriod = res.response.period;
|
let bPeriod = res.response.period;
|
||||||
this.ag_last = bPeriod[bPeriod.length - 1];
|
let today_date_index = bDate.indexOf(moment(Date.now()).format('YYYY-MM-DD'));
|
||||||
|
this.ag_last = bPeriod[today_date_index];
|
||||||
|
//this.ag_last = bPeriod[bPeriod.length - 1];
|
||||||
this.blockspersecFunc(bDate, bPeriod);
|
this.blockspersecFunc(bDate, bPeriod);
|
||||||
resolve();
|
resolve();
|
||||||
}
|
}
|
||||||
@ -354,7 +361,10 @@ export class GraphListComponent implements OnInit {
|
|||||||
let gDate = res.response.date;
|
let gDate = res.response.date;
|
||||||
let gReward = res.response.total_reward_per_day;
|
let gReward = res.response.total_reward_per_day;
|
||||||
let gaddedreward = res.response.addedreward;
|
let gaddedreward = res.response.addedreward;
|
||||||
this.gg_last = gReward[gReward.length - 1];
|
let today_date_index = gDate.indexOf(moment(Date.now()).format('YYYY-MM-DD'));
|
||||||
|
//let today_date_index = gDate.indexOf('2019-08-06');
|
||||||
|
this.gg_last = gReward[today_date_index];
|
||||||
|
//this.gg_last = gReward[gReward.length - 1];
|
||||||
this.growthFunc(gDate, gReward, gaddedreward);
|
this.growthFunc(gDate, gReward, gaddedreward);
|
||||||
resolve();
|
resolve();
|
||||||
}
|
}
|
||||||
@ -377,7 +387,9 @@ export class GraphListComponent implements OnInit {
|
|||||||
if (res['status'] == 200) {
|
if (res['status'] == 200) {
|
||||||
let TfDate = res.response.Date;
|
let TfDate = res.response.Date;
|
||||||
let TfFee = res.response.Fee;
|
let TfFee = res.response.Fee;
|
||||||
this.fg_last = TfFee[TfFee.length - 1];
|
let today_date_index = TfDate.indexOf(moment(Date.now()).format('YYYY-MM-DD'));
|
||||||
|
this.fg_last = TfFee[today_date_index];
|
||||||
|
//this.fg_last = TfFee[TfFee.length - 1];
|
||||||
this.transcationfeeFunc(TfDate, TfFee);
|
this.transcationfeeFunc(TfDate, TfFee);
|
||||||
resolve();
|
resolve();
|
||||||
}
|
}
|
||||||
@ -566,7 +578,9 @@ export class GraphListComponent implements OnInit {
|
|||||||
let DifficultychartDate = res.response.Date;
|
let DifficultychartDate = res.response.Date;
|
||||||
let BlocksChartDate = res.response.blockDate;
|
let BlocksChartDate = res.response.blockDate;
|
||||||
let Blockval = res.response.Blocks;
|
let Blockval = res.response.Blocks;
|
||||||
this.brg_last = Blockval[Blockval.length - 1];
|
let today_date_index = BlocksChartDate.indexOf(moment(Date.now()).format('YYYY-MM-DD'));
|
||||||
|
this.brg_last = Blockval[today_date_index];
|
||||||
|
//this.brg_last = Blockval[Blockval.length - 1];
|
||||||
this.totalBlocksFunc(BlocksChartDate, Blockval);
|
this.totalBlocksFunc(BlocksChartDate, Blockval);
|
||||||
resolve();
|
resolve();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user