FIX unify the units css. (#499)

* FIX unify the units css.
* Fix units css font-size.
This commit is contained in:
Miguel Medeiros
2021-05-18 11:20:17 -03:00
committed by GitHub
parent 3ffa60db1f
commit 5cd2cfa097
18 changed files with 66 additions and 54 deletions

View File

@@ -71,7 +71,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
offset: this.offsetX,
},
axisY: {
labelInterpolationFnc: (value: number): any => this.vbytesPipe.transform(value, 2),
labelInterpolationFnc: (value: number): any => this.vbytesPipe.transform(value, 2, 'vB', 'MvB', true),
offset: this.showLegend ? 160 : 60,
},
plugins: this.inverted ? [Chartist.plugins.ctTargetLine({ value: 1000000 })] : []