Browse Source

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

* Fix rounding

* Update changelog
pull/1523/head^2
Thomas Kaul 2 years ago
committed by GitHub
parent
commit
5293de14cd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      CHANGELOG.md
  2. 2
      apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts

4
CHANGELOG.md

@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Upgraded `color` from version `4.0.1` to `4.2.3` - Upgraded `color` from version `4.0.1` to `4.2.3`
### Fixed
- Fixed the rounding of the y-axis ticks in the benchmark comparator
## 1.219.0 - 2022-12-17 ## 1.219.0 - 2022-12-17
### Added ### Added

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

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

Loading…
Cancel
Save