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

Proper tick position for right positioned axis #5401

Merged
merged 2 commits into from Apr 11, 2018

Conversation

etimberg
Copy link
Member

@etimberg etimberg commented Apr 9, 2018

In #5178 the position of tick marks was changed inadvertently for a right positioned axis. This PR puts the tick marks back to the correct location.

Resolves #5400

@etimberg etimberg added this to the Version 2.8 milestone Apr 9, 2018
@etimberg
Copy link
Member Author

etimberg commented Apr 9, 2018

@simonbrunel how do you feel about an image based test for this? It might be complicated even with fonts hidden on the axes

@simonbrunel
Copy link
Member

That could work: one image with scales all around and no text. I would also make sure that nothing else appears, only the ticks at the expected positions. Then you should try to run the test with the actual bug and see if it fails.

simonbrunel
simonbrunel previously approved these changes Apr 10, 2018
@etimberg
Copy link
Member Author

@simonbrunel will give that a shot and see how it goes

@etimberg
Copy link
Member Author

Added a test

@etimberg etimberg merged commit 85169c5 into chartjs:master Apr 11, 2018
@etimberg etimberg deleted the right-axis-position-tick-mark branch April 11, 2018 22:16
exwm pushed a commit to exwm/Chart.js that referenced this pull request Apr 30, 2021
* Proper tick position for right positioned axis
* Test for tick mark drawing
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