Add share % in pie chart label

This commit is contained in:
nymkappa
2022-01-21 11:17:36 +09:00
parent dcf613e065
commit add06ede7f
4 changed files with 93 additions and 82 deletions

View File

@@ -9,8 +9,7 @@
<div class="card-header">
<form [formGroup]="radioGroupForm" class="formRadioGroup">
<div class="btn-group btn-group-toggle" ngbRadioGroup name="radioBasic" formControlName="dateSpan"
(change)="onChangeWindowPreference($event)">
<div class="btn-group btn-group-toggle" ngbRadioGroup name="radioBasic" formControlName="dateSpan">
<label ngbButtonLabel class="btn-primary btn-sm">
<input ngbButton type="radio" [value]="'1d'" [routerLink]="['/pools' | relativeUrl]" fragment="1d"> 1D
</label>
@@ -54,7 +53,7 @@
<th i18n="latest-blocks.mined">Block Count (%)</th>
<th class="d-none d-md-block" i18n="latest-blocks.transactions">Empty Blocks (%)</th>
</thead>
<tbody *ngIf="(miningStatsEmitter$ | async) as miningStats">
<tbody *ngIf="(miningStatsObservable$ | async) as miningStats">
<tr>
<td class="d-none d-md-block">-</td>
<td><!-- LOGO --></td>