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

Ternary plot missing automargin option in layout.ternary #7333

Open
Lexachoc opened this issue Jan 12, 2025 · 0 comments
Open

Ternary plot missing automargin option in layout.ternary #7333

Lexachoc opened this issue Jan 12, 2025 · 0 comments
Labels
feature something new P3 backlog

Comments

@Lexachoc
Copy link
Contributor

Lexachoc commented Jan 12, 2025

Currently the Ternary plot: https://plotly.com/javascript/ternary-plots/
doesn't have automargin option in each axis in the layout.ternary: https://plotly.com/javascript/reference/layout/ternary/

Therefore, it may happen that the title of the axis is cropped, not only in the case of long titles, but more often due to smaller screen sizes (or figure sizes).

This is more likely for the title text in axes B and C located in the bottom being cropped, e.g.:

Image

Image

Titles are being cropped!

Demo example: https://codepen.io/Lexachoc/pen/MYgVGoW

Image
The title in axis B has no margin to adjust the position and is therefore cropped.

It would be very helpful to add this option (or a similar one to achieve the same thing, avoiding the title text being cropped) to the ternary plot.

@gvwilson gvwilson added feature something new P3 backlog labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P3 backlog
Projects
None yet
Development

No branches or pull requests

2 participants