Add acceleration fees graph
This commit is contained in:
parent
6f97a2ef74
commit
f23bcec10d
@ -24,12 +24,12 @@
|
|||||||
<app-difficulty-mining [attr.data-cy]="'difficulty-adjustment'" [showTitle]="false" [showProgress]="false" [showHalving]="true"></app-difficulty-mining>
|
<app-difficulty-mining [attr.data-cy]="'difficulty-adjustment'" [showTitle]="false" [showProgress]="false" [showHalving]="true"></app-difficulty-mining>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- pool distribution -->
|
<!-- acceleration fees graph -->
|
||||||
<div class="col" style="margin-bottom: 1.47rem">
|
<div class="col" style="margin-bottom: 1.47rem">
|
||||||
<div class="card graph-card">
|
<div class="card graph-card">
|
||||||
<div class="card-body pl-2 pr-2">
|
<div class="card-body pl-2 pr-2">
|
||||||
<app-pool-ranking [attr.data-cy]="'pool-distribution'" [widget]=true></app-pool-ranking>
|
<app-acceleration-fees-graph [attr.data-cy]="'acceleration-fees'" [widget]=true></app-acceleration-fees-graph>
|
||||||
<div class="mt-1"><a [attr.data-cy]="'pool-distribution-view-more'" [routerLink]="['/graphs/mining/pools' | relativeUrl]" i18n="dashboard.view-more">View more »</a></div>
|
<div class="mt-1"><a [attr.data-cy]="'acceleration-fees-view-more'" [routerLink]="['/graphs/acceleration/fees' | relativeUrl]" i18n="dashboard.view-more">View more »</a></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -3,6 +3,7 @@ import { NgxEchartsModule } from 'ngx-echarts';
|
|||||||
import { GraphsRoutingModule } from './graphs.routing.module';
|
import { GraphsRoutingModule } from './graphs.routing.module';
|
||||||
import { SharedModule } from '../shared/shared.module';
|
import { SharedModule } from '../shared/shared.module';
|
||||||
|
|
||||||
|
import { AccelerationFeesGraphComponent } from '../components/acceleration-fees-graph/acceleration-fees-graph.component';
|
||||||
import { BlockFeesGraphComponent } from '../components/block-fees-graph/block-fees-graph.component';
|
import { BlockFeesGraphComponent } from '../components/block-fees-graph/block-fees-graph.component';
|
||||||
import { BlockRewardsGraphComponent } from '../components/block-rewards-graph/block-rewards-graph.component';
|
import { BlockRewardsGraphComponent } from '../components/block-rewards-graph/block-rewards-graph.component';
|
||||||
import { BlockFeeRatesGraphComponent } from '../components/block-fee-rates-graph/block-fee-rates-graph.component';
|
import { BlockFeeRatesGraphComponent } from '../components/block-fee-rates-graph/block-fee-rates-graph.component';
|
||||||
@ -38,6 +39,7 @@ import { CommonModule } from '@angular/common';
|
|||||||
|
|
||||||
StatisticsComponent,
|
StatisticsComponent,
|
||||||
GraphsComponent,
|
GraphsComponent,
|
||||||
|
AccelerationFeesGraphComponent,
|
||||||
BlockFeesGraphComponent,
|
BlockFeesGraphComponent,
|
||||||
BlockRewardsGraphComponent,
|
BlockRewardsGraphComponent,
|
||||||
BlockFeeRatesGraphComponent,
|
BlockFeeRatesGraphComponent,
|
||||||
|
@ -17,6 +17,7 @@ import { StartComponent } from '../components/start/start.component';
|
|||||||
import { StatisticsComponent } from '../components/statistics/statistics.component';
|
import { StatisticsComponent } from '../components/statistics/statistics.component';
|
||||||
import { TelevisionComponent } from '../components/television/television.component';
|
import { TelevisionComponent } from '../components/television/television.component';
|
||||||
import { DashboardComponent } from '../dashboard/dashboard.component';
|
import { DashboardComponent } from '../dashboard/dashboard.component';
|
||||||
|
import { AccelerationFeesGraphComponent } from '../components/acceleration-fees-graph/acceleration-fees-graph.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
@ -105,6 +106,11 @@ const routes: Routes = [
|
|||||||
data: { networks: ['bitcoin'] },
|
data: { networks: ['bitcoin'] },
|
||||||
component: BlockSizesWeightsGraphComponent,
|
component: BlockSizesWeightsGraphComponent,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'acceleration/fees',
|
||||||
|
data: { networks: ['bitcoin'] },
|
||||||
|
component: AccelerationFeesGraphComponent,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: 'lightning',
|
path: 'lightning',
|
||||||
data: { preload: true, networks: ['bitcoin'] },
|
data: { preload: true, networks: ['bitcoin'] },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user