2020-03-05 16:13:46 +07:00
|
|
|
<div class="container-xl" style="max-width: 100%;">
|
2019-07-21 17:59:47 +03:00
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12" *ngIf="loading">
|
|
|
|
<div class="text-center">
|
|
|
|
<h3>Loading graphs...</h3>
|
|
|
|
<br>
|
|
|
|
<div class="spinner-border text-light"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-lg-12">
|
|
|
|
|
2020-03-29 23:59:04 +07:00
|
|
|
<div class="card mb-3" *ngIf="mempoolStats.length">
|
2019-07-21 17:59:47 +03:00
|
|
|
<div class="card-header">
|
2020-09-29 15:07:04 +07:00
|
|
|
<i class="fa fa-area-chart"></i> Mempool by vBytes (sat/vByte)
|
2019-07-21 17:59:47 +03:00
|
|
|
|
|
|
|
<form [formGroup]="radioGroupForm" style="float: right;">
|
|
|
|
<div class="spinner-border text-light bootstrap-spinner" *ngIf="spinnerLoading"></div>
|
|
|
|
<div class="btn-group btn-group-toggle" ngbRadioGroup name="radioBasic" formControlName="dateSpan">
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm">
|
2020-05-09 20:37:50 +07:00
|
|
|
<input ngbButton type="radio" [value]="'2h'" [routerLink]="['/graphs' | relativeUrl]" fragment="2h"> 2H (LIVE)
|
2019-07-21 17:59:47 +03:00
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm">
|
2020-05-09 20:37:50 +07:00
|
|
|
<input ngbButton type="radio" [value]="'24h'" [routerLink]="['/graphs' | relativeUrl]" fragment="24h"> 24H
|
2019-07-21 17:59:47 +03:00
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm">
|
2020-05-09 20:37:50 +07:00
|
|
|
<input ngbButton type="radio" [value]="'1w'" [routerLink]="['/graphs' | relativeUrl]" fragment="1w"> 1W
|
2019-07-21 17:59:47 +03:00
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm">
|
2020-05-09 20:37:50 +07:00
|
|
|
<input ngbButton type="radio" [value]="'1m'" [routerLink]="['/graphs' | relativeUrl]" fragment="1m"> 1M
|
2019-07-21 17:59:47 +03:00
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm">
|
2020-05-09 20:37:50 +07:00
|
|
|
<input ngbButton type="radio" [value]="'3m'" [routerLink]="['/graphs' | relativeUrl]" fragment="3m"> 3M
|
2019-07-21 17:59:47 +03:00
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm">
|
2020-05-09 20:37:50 +07:00
|
|
|
<input ngbButton type="radio" [value]="'6m'" [routerLink]="['/graphs' | relativeUrl]" fragment="6m"> 6M
|
2019-07-21 17:59:47 +03:00
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm">
|
2020-05-09 20:37:50 +07:00
|
|
|
<input ngbButton type="radio" [value]="'1y'" [routerLink]="['/graphs' | relativeUrl]" fragment="1y"> 1Y
|
2019-07-21 17:59:47 +03:00
|
|
|
</label>
|
|
|
|
</div>
|
2020-11-16 19:27:06 +07:00
|
|
|
<button (click)="invertGraph()" class="btn btn-primary btn-sm ml-2 d-none d-md-inline"><fa-icon [icon]="['fas', 'exchange-alt']" [rotate]="90" [fixedWidth]="true" title="Search"></fa-icon></button>
|
2019-07-21 17:59:47 +03:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div style="height: 600px;">
|
2020-05-10 17:44:19 +07:00
|
|
|
<app-mempool-graph [data]="mempoolStats" [dateSpan]="radioGroupForm.controls.dateSpan.value"></app-mempool-graph>
|
2019-07-21 17:59:47 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<div class="card mb-3" *ngIf="mempoolTransactionsWeightPerSecondData">
|
|
|
|
<div class="card-header">
|
2020-09-29 15:07:04 +07:00
|
|
|
<i class="fa fa-area-chart"></i> Transaction vBytes per second (vB/s)</div>
|
2019-07-21 17:59:47 +03:00
|
|
|
<div class="card-body">
|
|
|
|
<div style="height: 600px;">
|
|
|
|
<app-chartist
|
|
|
|
[data]="mempoolTransactionsWeightPerSecondData"
|
|
|
|
[type]="'Line'"
|
|
|
|
[options]="transactionsWeightPerSecondOptions">
|
|
|
|
</app-chartist>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|