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

Linear: determine grace amount from range #9719

Merged
merged 1 commit into from Oct 4, 2021

Conversation

kurkle
Copy link
Member

@kurkle kurkle commented Oct 4, 2021

grace option, when defined as percentage, applied to the min and max value, instead of the max-min range.

Additionally, beginAtZero is honored, so grace is not applied when beginAtZero is true and value is zero.

@etimberg etimberg added this to the Version 3.6.0 milestone Oct 4, 2021
@etimberg etimberg merged commit 10292c6 into chartjs:master Oct 4, 2021
@kurkle kurkle deleted the grace-range branch June 29, 2022 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants