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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -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`
### Fixed
- Fixed the rounding of the y-axis ticks in the benchmark comparator
## 1.219.0 - 2022-12-17
### Added

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,