Merge pull request #825 from MiguelMedeiros/fix-focus-effect-mempool-chart

Fix the focus effect on the mempool graph.
This commit is contained in:
wiz 2021-09-27 19:12:49 +09:00 committed by GitHub
commit aa0c3e6fed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
};