Merge pull request #845 from MiguelMedeiros/add-dashed-line

Add mark line to mempool chart.
This commit is contained in:
wiz 2021-10-02 05:36:09 +09:00 committed by GitHub
commit 3006deae6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

View File

@ -133,7 +133,7 @@ export class IncomingTransactionsGraphComponent implements OnInit, OnChanges {
symbol: 'none',
lineStyle: {
color: '#fff',
opacity: 0.75,
opacity: 1,
width: 2,
},
data: [{

View File

@ -129,6 +129,22 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
opacity: 0.85,
},
},
markLine: {
silent: true,
symbol: 'none',
lineStyle: {
color: '#fff',
opacity: 1,
width: this.inverted ? 2 : 0,
},
data: [{
yAxis: '1000000',
label: {
show: false,
color: '#ffffff',
}
}],
},
areaStyle: {
color: chartColors[index],
opacity: 1,