Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout / autoSkip issue #8565

Closed
kurkle opened this issue Mar 4, 2021 · 0 comments · Fixed by #8567
Closed

Layout / autoSkip issue #8565

kurkle opened this issue Mar 4, 2021 · 0 comments · Fixed by #8567

Comments

@kurkle
Copy link
Member

kurkle commented Mar 4, 2021

Expected Behavior

autoSkip should be done using the final _length of the scale

Current Behavior

autoSkip is not run after the final configure, and for example here, y-scale length during autoSkip contains the title and legend height:

image

image

Possible Solution

re-run autoSkip on the 2nd round of layout?

Steps to Reproduce

https://jsfiddle.net/z7Lek49m/3/

Context

Was taking a look at #3694 with current master

Environment

  • Chart.js version: 3.0.0-beta.12 / master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant