Fix tooltip text alignment in mining dashboard

This commit is contained in:
nymkappa 2022-02-22 20:30:14 +09:00
parent d7cbdc4836
commit a5437bdde1
2 changed files with 5 additions and 1 deletions

View File

@ -145,6 +145,7 @@ export class HashrateChartComponent implements OnInit {
shadowColor: 'rgba(0, 0, 0, 0.5)',
textStyle: {
color: '#b1b1b1',
align: 'left',
},
borderColor: '#000',
formatter: function (data) {

View File

@ -176,7 +176,10 @@ export class PoolRankingComponent implements OnInit {
}
},
tooltip: {
trigger: 'item'
trigger: 'item',
textStyle: {
align: 'left',
}
},
series: [
{