From b69a7a50317ffe0153a99933bdd98b758d2f9c7d Mon Sep 17 00:00:00 2001 From: nymkappa Date: Tue, 26 Jul 2022 15:18:42 +0200 Subject: [PATCH] Show 3y charts by default on dashboard to get more interesting charts --- .../nodes-networks-chart/nodes-networks-chart.component.ts | 2 +- .../statistics-chart/lightning-statistics-chart.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/lightning/nodes-networks-chart/nodes-networks-chart.component.ts b/frontend/src/app/lightning/nodes-networks-chart/nodes-networks-chart.component.ts index 735d4868f..c292d09f7 100644 --- a/frontend/src/app/lightning/nodes-networks-chart/nodes-networks-chart.component.ts +++ b/frontend/src/app/lightning/nodes-networks-chart/nodes-networks-chart.component.ts @@ -59,7 +59,7 @@ export class NodesNetworksChartComponent implements OnInit { let firstRun = true; if (this.widget) { - this.miningWindowPreference = '1y'; + this.miningWindowPreference = '3y'; } else { this.seoService.setTitle($localize`Lightning nodes per network`); this.miningWindowPreference = this.miningService.getDefaultTimespan('all'); diff --git a/frontend/src/app/lightning/statistics-chart/lightning-statistics-chart.component.ts b/frontend/src/app/lightning/statistics-chart/lightning-statistics-chart.component.ts index d95205542..1727d1f68 100644 --- a/frontend/src/app/lightning/statistics-chart/lightning-statistics-chart.component.ts +++ b/frontend/src/app/lightning/statistics-chart/lightning-statistics-chart.component.ts @@ -58,7 +58,7 @@ export class LightningStatisticsChartComponent implements OnInit { let firstRun = true; if (this.widget) { - this.miningWindowPreference = '1y'; + this.miningWindowPreference = '3y'; } else { this.seoService.setTitle($localize`Channels and Capacity`); this.miningWindowPreference = this.miningService.getDefaultTimespan('all');