2022-05-10 14:52:37 +02:00
|
|
|
<app-indexing-progress></app-indexing-progress>
|
2022-05-02 17:28:58 +09:00
|
|
|
|
2022-04-15 00:21:38 +09:00
|
|
|
<div class="full-container">
|
|
|
|
<div class="card-header mb-0 mb-md-4">
|
|
|
|
<span i18n="mining.block-fee-rates">Block fee rates</span>
|
2022-05-05 17:48:57 +09:00
|
|
|
<button class="btn" style="margin: 0 0 4px 0px" (click)="onSaveChart()">
|
2022-05-05 16:18:28 +09:00
|
|
|
<fa-icon [icon]="['fas', 'download']" [fixedWidth]="true"></fa-icon>
|
|
|
|
</button>
|
|
|
|
|
2022-04-15 00:21:38 +09:00
|
|
|
<form [formGroup]="radioGroupForm" class="formRadioGroup" *ngIf="(statsObservable$ | async) as stats">
|
|
|
|
<div class="btn-group btn-group-toggle" ngbRadioGroup name="radioBasic" formControlName="dateSpan">
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm" *ngIf="stats.availableTimespanDay >= 1">
|
|
|
|
<input ngbButton type="radio" [value]="'24h'" fragment="24h"> 24h
|
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm" *ngIf="stats.availableTimespanDay >= 3">
|
|
|
|
<input ngbButton type="radio" [value]="'3d'" fragment="3d"> 3D
|
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm" *ngIf="stats.availableTimespanDay >= 7">
|
|
|
|
<input ngbButton type="radio" [value]="'1w'" fragment="1w"> 1W
|
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm" *ngIf="stats.availableTimespanDay >= 30">
|
|
|
|
<input ngbButton type="radio" [value]="'1m'" fragment="1m"> 1M
|
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm" *ngIf="stats.availableTimespanDay >= 90">
|
|
|
|
<input ngbButton type="radio" [value]="'3m'" fragment="3m"> 3M
|
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm" *ngIf="stats.availableTimespanDay >= 180">
|
|
|
|
<input ngbButton type="radio" [value]="'6m'" fragment="6m"> 6M
|
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm" *ngIf="stats.availableTimespanDay >= 365">
|
|
|
|
<input ngbButton type="radio" [value]="'1y'" fragment="1y"> 1Y
|
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm" *ngIf="stats.availableTimespanDay >= 730">
|
|
|
|
<input ngbButton type="radio" [value]="'2y'" fragment="2y"> 2Y
|
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm" *ngIf="stats.availableTimespanDay >= 1095">
|
|
|
|
<input ngbButton type="radio" [value]="'3y'" fragment="3y"> 3Y
|
|
|
|
</label>
|
|
|
|
<label ngbButtonLabel class="btn-primary btn-sm" *ngIf="stats.availableTimespanDay > 1095">
|
|
|
|
<input ngbButton type="radio" [value]="'all'" fragment="all"> ALL
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
2022-04-15 00:34:15 +09:00
|
|
|
<div class="chart" echarts [initOpts]="chartInitOptions" [options]="chartOptions"
|
|
|
|
(chartInit)="onChartInit($event)">
|
2022-04-15 00:21:38 +09:00
|
|
|
</div>
|
|
|
|
<div class="text-center loadingGraphs" *ngIf="isLoading">
|
|
|
|
<div class="spinner-border text-light"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|