-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Gridlines which would intersect inside tick labels should not be drawn #5502
Comments
Some additional context for this issue:
|
Addendum: for that final case, we should drop the label only if its centerline will intersect the y tick labels. That's more in keeping with the style guide in question. |
I noticed showing data without zerolines could be misleading in most cases. |
can you provide an example plz? |
fair enough. That seems unlikely-enough to be the developer's intent that I'm OK with this behaviour. |
I used the artifact from this branch in this pen https://codepen.io/nicolaskruchten/pen/BaLGYeW?editors=0010 (couldn't save because the URL is too long) and it seemed like the right-most ticklabel didn't disappear early enough as I panned. It seemed like it disappeared when its centerline hit the edge of the plot rather than the left edge of the inside ticklabel bounding boxes. |
This is fixed by #5550. |
Here is a codepen using master. |
Thanks! Do you have a pen that demonstrates this one?
|
Good call. |
As discussed in the meeting, let's just call this a bug, and suppress any gridlines/ticks/ticklabels whose position is within the bounding box of any inside tick labels. Resolving this should resolve some cases of #5404
The text was updated successfully, but these errors were encountered: