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

Moved drawing of radial lines before drawing the tick labels #5855

Merged
merged 1 commit into from Nov 27, 2018

Conversation

fhp
Copy link
Contributor

@fhp fhp commented Nov 22, 2018

such that the radial lines are not drawn on top of the tick labels and their backdrop.

…at the radial lines are not drawn on top of the tick labels and their backdrop.
@simonbrunel
Copy link
Member

@nagix since you worked on this scale recently, do you think of any issue moving the order of drawing?

@nagix
Copy link
Contributor

nagix commented Nov 26, 2018

I don't see any issues. This looks good to me.

@simonbrunel
Copy link
Member

@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 drawPointLabels() so I want to be sure we are not generating another issue moving this call.

@fhp
Copy link
Contributor Author

fhp commented Nov 27, 2018

@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.

@nagix
Copy link
Contributor

nagix commented Nov 27, 2018

As point labels are drawn outside the outermost circle, I think there is no problem.

@simonbrunel simonbrunel added this to the Version 2.8 milestone Nov 27, 2018
@simonbrunel simonbrunel merged commit 08447e9 into chartjs:master Nov 27, 2018
@simonbrunel
Copy link
Member

Thanks @fhp

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

4 participants