Show unit in the yaxis for hashrate chart

This commit is contained in:
nymkappa
2022-02-21 18:37:34 +09:00
parent beeda5fa87
commit b2f872c4cc
2 changed files with 4 additions and 3 deletions

View File

@@ -106,7 +106,7 @@ export class HashrateChartComponent implements OnInit {
formatter: (val) => {
const selectedPowerOfTen: any = selectPowerOfTen(val);
const newVal = val / selectedPowerOfTen.divider;
return `${newVal} ${selectedPowerOfTen.unit}`
return `${newVal} ${selectedPowerOfTen.unit}H/s`
}
},
splitLine: {