From 9e0f9840aa2acac88d60d5828fe2b74412abead3 Mon Sep 17 00:00:00 2001 From: Miguel Medeiros Date: Sun, 26 Sep 2021 16:59:00 -0300 Subject: [PATCH] Fix the focus effect on the mempool graph. --- .../mempool-graph/mempool-graph.component.ts | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/frontend/src/app/components/mempool-graph/mempool-graph.component.ts b/frontend/src/app/components/mempool-graph/mempool-graph.component.ts index 440e56af6..7d3515bbc 100644 --- a/frontend/src/app/components/mempool-graph/mempool-graph.component.ts +++ b/frontend/src/app/components/mempool-graph/mempool-graph.component.ts @@ -120,21 +120,15 @@ export class MempoolGraphComponent implements OnInit, OnChanges { }, symbolSize: (this.template === 'advanced') ? 10 : 10, showSymbol: false, - areaStyle: { - opacity: 1, - color: chartColors[index], - }, emphasis: { - focus: 'series', + focus: 'none', areaStyle: { - opacity: 1, - }, - itemStyle: { - opacity: 0.2, + opacity: 0.85, }, }, - itemStyle: { - opacity: 0, + areaStyle: { + color: chartColors[index], + opacity: 1, }, data: this.vbytesPipe.transform(value, 2, 'vB', 'MvB', true) };