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

Fix default when the plugin is defined in chart configuration #325

Merged
merged 1 commit into from
Jul 16, 2022

Conversation

stockiNail
Copy link
Contributor

Fix #285

When the plugin is defined in chart configuration (and not globally registered) the offset and padding options were checked with a wrong default (0 instead of 4).

@simonbrunel
Copy link
Member

The suggested change is fine, though I would expect defaults to be applied even while using the plugin locally.

@simonbrunel simonbrunel merged commit f4e7cf0 into chartjs:master Jul 16, 2022
@stockiNail
Copy link
Contributor Author

I was thinking the same. Maybe an issue should be submitted to chartjs project

@stockiNail stockiNail deleted the fix285 branch July 18, 2022 06:42
@stockiNail
Copy link
Contributor Author

@simonbrunel I have seen that last merged PRs don't have the milestone. Will they be part of 2.1.0 or a bug fixing release 2.0.1?

@simonbrunel simonbrunel added this to the Version 2.1 milestone Jul 22, 2022
@simonbrunel
Copy link
Member

It will be 2.1.0 in which I would also like to include your other PR #271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The default offset: 4 option is not working
3 participants