8000 Horizontal legend wrap calculated before automargin · Issue #2971 · plotly/plotly.js · GitHub
[go: up one dir, main page]

Skip to content

Horizontal legend wrap calculated before automargin #2971

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

Closed
mikesmith1611 opened this issue Sep 5, 2018 · 1 comment · Fixed by #2983
Closed

Horizontal legend wrap calculated before automargin #2971

mikesmith1611 opened this issue Sep 5, 2018 · 1 comment · Fixed by #2983
Labels
bug something broken

Comments

@mikesmith1611
Copy link

Hi,

The horizontal legend wrapping seems to be calculated before any auto margin calculations are applied.
This means that the legend can appear off the page if longer axis labels are used.

https://jsfiddle.net/vj5a6r4x/

@alexcjohnson
Copy link
Collaborator

Confirmed - thanks for the clear reproduction @mikesmith1611!

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

Successfully merging a pull request may close this issue.

2 participants
0