Add Lightning charts in /graph

This commit is contained in:
nymkappa
2022-07-06 15:15:08 +02:00
committed by wiz
parent 138bef0807
commit ebc8a7ceb6
10 changed files with 154 additions and 58 deletions

View File

@@ -18,6 +18,8 @@ import { StartComponent } from '../components/start/start.component';
import { StatisticsComponent } from '../components/statistics/statistics.component';
import { TelevisionComponent } from '../components/television/television.component';
import { DashboardComponent } from '../dashboard/dashboard.component';
import { NodesNetworksChartComponent } from '../lightning/nodes-networks-chart/nodes-networks-chart.component';
import { LightningStatisticsChartComponent } from '../lightning/statistics-chart/lightning-statistics-chart.component';
const browserWindow = window || {};
// @ts-ignore
@@ -89,6 +91,14 @@ const routes: Routes = [
path: 'mining/block-sizes-weights',
component: BlockSizesWeightsGraphComponent,
},
{
path: 'lightning/nodes-networks',
component: NodesNetworksChartComponent,
},
{
path: 'lightning/capacity',
component: LightningStatisticsChartComponent,
},
{
path: '',
redirectTo: 'mempool',