-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Moved drawing of radial lines before drawing the tick labels #5855
Conversation
…at the radial lines are not drawn on top of the tick labels and their backdrop.
@nagix since you worked on this scale recently, do you think of any issue moving the order of drawing? |
I don't see any issues. This looks good to me. |
@fhp do you have a fiddle that shows the issue this PR is trying to solve (or an associated ticket)? We are also drawing text in |
@simonbrunel yes: http://jsfiddle.net/ajbrk59c/ And using this fix: http://jsfiddle.net/7xL3jtzk/ (change is in the used dependency) I'm not very familiar with the Chart.js codebase, so I am unsure if it introduces other issues. |
As point labels are drawn outside the outermost circle, I think there is no problem. |
Thanks @fhp |
Moved drawing of radial lines before drawing the tick labels, such that the radial lines are not drawn on top of the tick labels and their backdrop.
such that the radial lines are not drawn on top of the tick labels and their backdrop.