Bugfix/fix rounding of y axis ticks in benchmark comparator (#1521)

* Fix rounding

* Update changelog
This commit is contained in:
Thomas Kaul
2022-12-22 12:27:34 +01:00
committed by GitHub
parent 7340a674b5
commit 5293de14cd
2 changed files with 5 additions and 1 deletions

View File

@@ -187,7 +187,7 @@ export class BenchmarkComparatorComponent implements OnChanges, OnDestroy {
position: 'right',
ticks: {
callback: (value: number) => {
return `${value} %`;
return `${value.toFixed(2)} %`;
},
display: true,
mirror: true,