Fix widget mining graphs

This commit is contained in:
natsoni
2024-05-27 11:50:11 +02:00
parent e281684ca4
commit e9fc5c0433
3 changed files with 10 additions and 6 deletions

View File

@@ -349,7 +349,9 @@ export class HashrateChartComponent implements OnInit {
const selectedPowerOfTen: any = selectPowerOfTen(val);
const newVal = Math.round(val / selectedPowerOfTen.divider);
return `${newVal} ${selectedPowerOfTen.unit}H/s`;
}
},
showMinLabel: false,
showMaxLabel: false,
},
splitLine: {
lineStyle: {
@@ -381,7 +383,9 @@ export class HashrateChartComponent implements OnInit {
const selectedPowerOfTen: any = selectPowerOfTen(val);
const newVal = Math.round(val / selectedPowerOfTen.divider);
return `${newVal} ${selectedPowerOfTen.unit}`;
}
},
showMinLabel: false,
showMaxLabel: false,
},
splitLine: {
show: false,