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 wild special zero grid line when undefined #4700

Merged
merged 1 commit into from Aug 26, 2017

Conversation

simonbrunel
Copy link
Member

@simonbrunel simonbrunel commented Aug 25, 2017

Remove the special drawing for an undefined zero grid line since it causes issue when the first tick is not aligned on the scale extremity (only linear based scales now display a special grid line for the origin).

image

Also hide scales in the filler plugin unit test fixtures to avoid future failures due to changes unrelated to the tested features. This should help implementing #4117 without worrying about the filler unit tests.

CC @Zamaroth @andig

Remove the special drawing for an undefined zero grid line since it causes issue when the first tick is not anymore aligned on the scale extremity. Only linear based scales now display a special grid line for the origin. Hide scales in the filler plugin unit test fixtures to avoid future failures due to changes unrelated to the tested features.
@simonbrunel simonbrunel added this to the Version 2.7 milestone Aug 25, 2017
@simonbrunel simonbrunel merged commit 5a014dc into chartjs:master Aug 26, 2017
@simonbrunel simonbrunel deleted the fix/zero-grid-line branch August 26, 2017 05:49
yofreke pushed a commit to yofreke/Chart.js that referenced this pull request Dec 30, 2017
Remove the special drawing for an undefined zero grid line since it causes issue when the first tick is not aligned on the scale extremity (ie only linear scales now display a special grid line for the origin). Hide scales in the filler plugin unit test fixtures to avoid future failures due to changes unrelated to the tested features.
exwm pushed a commit to exwm/Chart.js that referenced this pull request Apr 30, 2021
Remove the special drawing for an undefined zero grid line since it causes issue when the first tick is not aligned on the scale extremity (ie only linear scales now display a special grid line for the origin). Hide scales in the filler plugin unit test fixtures to avoid future failures due to changes unrelated to the tested features.
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