Skip to content

Automatically shift bottom legend down if the x-axis labels rotate / get longer #7415

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
my-tien opened this issue May 6, 2025 · 1 comment

Comments

@my-tien
Copy link
Contributor

my-tien commented May 6, 2025

When positioning the legend at the bottom of the chart, the placement works nicely if tick labels take up only one line. But if the labels take up more vertical space, they will draw over the legend.

It would be nice if the legend could be pushed down automatically to account for the extra space required.

Image

Corresponding codepen

As discussed before, let's revisit this in 6 - 8 weeks time when hopefully there will be more capacity for this complex issue.

@my-tien
Copy link
Contributor Author

my-tien commented May 6, 2025

FYI
@stephprobst @emilykl @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant