chartjs / chartjs/chartjs-plugin-zoom

Zoom incompatible with "grace" option

Open
#710 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.