Make Block Weight Unit configurable in frontend+backend.

This commit is contained in:
softsimon committed 2021-07-31 17:30:35 +03:00
1 parent a32c1f40b1
commit 037f472f8c
12 files changed
+22 -13

No files matched your search

@@ -74,7 +74,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
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 })] : []
plugins: this.inverted ? [Chartist.plugins.ctTargetLine({ value: this.stateService.blockVSize })] : []
};
if (this.showLegend) {