Browse Source

Fix rounding

pull/1521/head
Thomas 3 years ago
parent
commit
ed02e9cdbf
  1. 2
      apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts

2
apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts

@ -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,

Loading…
Cancel
Save