This commit is contained in:
SuriyaR 2019-08-08 13:21:20 +05:30
parent 3dce0b0a3b
commit 80985ccef1
2 changed files with 2 additions and 3 deletions

View File

@ -301,7 +301,7 @@
</div>
</div>
</div>
<div class="col-md-6 col-lg-4 mb-4">
<div *ngIf="viewchartvar" class="col-md-6 col-lg-4 mb-4">
<div class="box_shadow">
<div class="blocks">
<h2 class="chart_heading d-inline-block">{{'home.BLOCKS_MINED' | translate}}</h2>

View File

@ -341,7 +341,6 @@ export class GraphListComponent implements OnInit {
.apiGetRequest(params, '/blockchain_block/supplygrowth')
.subscribe(
res => {
res = {"status":200,"timestamp":1564734317476,"message":"period of blocks generation per second fetched Successfully","response":{"date":["2019-08-01"],"total_reward_per_day":[4600],"addedreward":[4600]}}
if (res['status'] == 200) {
let gDate = res.response.date;
let gReward = res.response.total_reward_per_day;
@ -1102,7 +1101,7 @@ export class GraphListComponent implements OnInit {
type: 'scatter',
name: '',
line: { color: '#ac3333' },
hovertemplate: '%{DifficultychartDate}<br> Difficulty : %{text:,}',
hovertemplate: '%{x}<br> Difficulty : %{text:,}',
},
],
layout: {