You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have traces that have very long names. It's problematic because the legend text does not word wrap and so it squishes the graph.
Here's an example: https://postimg.cc/VSq0bQXW
Describe the solution you'd like
Please allow for more stylistic control over legend text, particularly allowing for textoverflow control, like word wrap, hidden+ellipsis, hover tooltip etc.
Describe alternatives you've considered
I had to resorted to displaying a hashmap to translate the long text into a shorter signature.
Additional context
I've had it where the text is really long that the actual graph is completely unreadable.
The text was updated successfully, but these errors were encountered:
One thing you could do as a workaround is truncate the name of the trace in the underlying figure. This is where trace names are sourced from for building the legend. It's possible the field is used elsewhere, which means it would be truncated to there. Luckily the default hover text does not seem to be affected.
Thanks so much for your interest in Dash!
The feature has already been tangentially discussed here: https://community.plotly.com/t/scatter-plot-how-to-wrap-legends-text-when-legend-text-is-too-long/4767/7
Is your feature request related to a problem? Please describe.
I have traces that have very long names. It's problematic because the legend text does not word wrap and so it squishes the graph.
Here's an example: https://postimg.cc/VSq0bQXW
Describe the solution you'd like
Please allow for more stylistic control over legend text, particularly allowing for textoverflow control, like word wrap, hidden+ellipsis, hover tooltip etc.
Describe alternatives you've considered
I had to resorted to displaying a hashmap to translate the long text into a shorter signature.
Additional context
I've had it where the text is really long that the actual graph is completely unreadable.
The text was updated successfully, but these errors were encountered: