From 88dd956354a247a1647c181c4c11560578827e73 Mon Sep 17 00:00:00 2001 From: nymkappa Date: Fri, 25 Feb 2022 13:06:33 +0900 Subject: [PATCH] Hide 'dot' when hovering charts --- .../app/components/hashrate-chart/hashrate-chart.component.ts | 2 ++ .../hashrates-chart-pools/hashrate-chart-pools.component.ts | 1 + .../incoming-transactions-graph.component.ts | 1 + 3 files changed, 4 insertions(+) diff --git a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts index 37b4f07ba..7efb83098 100644 --- a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts +++ b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts @@ -246,6 +246,7 @@ export class HashrateChartComponent implements OnInit { { name: 'Hashrate', showSymbol: false, + symbol: 'none', data: data.hashrates, type: 'line', lineStyle: { @@ -256,6 +257,7 @@ export class HashrateChartComponent implements OnInit { yAxisIndex: 1, name: 'Difficulty', showSymbol: false, + symbol: 'none', data: data.difficulty, type: 'line', lineStyle: { diff --git a/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts b/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts index 79ac7e2e1..3d7935e3d 100644 --- a/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts +++ b/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts @@ -77,6 +77,7 @@ export class HashrateChartPoolsComponent implements OnInit { stack: 'Total', name: name, showSymbol: false, + symbol: 'none', data: grouped[name].map((val) => [val.timestamp * 1000, (val.share * 100).toFixed(2)]), type: 'line', lineStyle: { width: 0 }, diff --git a/frontend/src/app/components/incoming-transactions-graph/incoming-transactions-graph.component.ts b/frontend/src/app/components/incoming-transactions-graph/incoming-transactions-graph.component.ts index 157ec0a2f..7a0d9c4e5 100644 --- a/frontend/src/app/components/incoming-transactions-graph/incoming-transactions-graph.component.ts +++ b/frontend/src/app/components/incoming-transactions-graph/incoming-transactions-graph.component.ts @@ -160,6 +160,7 @@ export class IncomingTransactionsGraphComponent implements OnInit, OnChanges { type: 'line', smooth: false, showSymbol: false, + symbol: 'none', lineStyle: { width: 3, },