chartjs / chartjs/chartjs-plugin-zoom
Zoom incompatible with "grace" option
Open
bug
- Dominant language
- JavaScript
- Stars
- 623
- Forks
- 331
- Avg merge
- 7h 5m
- Merged PRs (30d)
- 7
Description
When using the [grace option](https://www.chartjs.org/docs/latest/axes/cartesian/linear.html#linear-axis-specific-options) (options.scales[scaleId].grace) on the y axis, zooming and dezooming will not keep the correct aspect ratio of the y-scale and make the curve look flatter and flatter.
Here’s a simple jsfiddle example: https://jsfiddle.net/n9j5gho1/
Contributor guide
Assessment
This issue has not been assessed yet.