From 0ad8dc85290422184fe092f4d69e36f24cee9035 Mon Sep 17 00:00:00 2001 From: nymkappa Date: Mon, 29 Aug 2022 11:34:01 +0200 Subject: [PATCH] Disable smooth flag for LN lines charts --- .../nodes-networks-chart/nodes-networks-chart.component.ts | 6 +++--- .../lightning-statistics-chart.component.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 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 22f46e8e7..0ef9e3cd5 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 @@ -300,7 +300,7 @@ export class NodesNetworksChartComponent implements OnInit { { offset: 1, color: '#D81B60AA' }, ]), - smooth: true, + smooth: false, }, { zlevel: 1, @@ -321,7 +321,7 @@ export class NodesNetworksChartComponent implements OnInit { { offset: 0, color: '#FFB300' }, { offset: 1, color: '#FFB300AA' }, ]), - smooth: true, + smooth: false, }, { zlevel: 1, @@ -342,7 +342,7 @@ export class NodesNetworksChartComponent implements OnInit { { offset: 0, color: '#7D4698' }, { offset: 1, color: '#7D4698AA' }, ]), - smooth: true, + smooth: false, }, ], dataZoom: this.widget ? null : [{ 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 6fb8fd1e2..3a25367dc 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 @@ -274,7 +274,7 @@ export class LightningStatisticsChartComponent implements OnInit { width: 1, }, }, - smooth: true, + smooth: false, }, { zlevel: 0, @@ -288,7 +288,7 @@ export class LightningStatisticsChartComponent implements OnInit { opacity: 0.5, }, type: 'line', - smooth: true, + smooth: false, } ], dataZoom: this.widget ? null : [{