Bugfix/fix rounding of y axis ticks in benchmark comparator (#1521)
* Fix rounding * Update changelog
This commit is contained in:
parent
7340a674b5
commit
5293de14cd
@ -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
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user