Skip to content

Unsorted tickvals do not avoid ticktext overlaps #7414

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

Open
alexcjohnson opened this issue May 5, 2025 · 0 comments
Open

Unsorted tickvals do not avoid ticktext overlaps #7414

alexcjohnson opened this issue May 5, 2025 · 0 comments
Labels
bug something broken

Comments

@alexcjohnson
Copy link
Collaborator

If you provide tickvals and ticktext to an axis but you didn't sort tickvals, the labels don't properly rotate to avoid overlaps https://codepen.io/alexcjohnson/pen/OPPZBVv?editors=0010

left is sorted, right is unsorted:

Image
@alexcjohnson alexcjohnson added the bug something broken label May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

1 participant