Skip to content

Automatic hover text wrapping #1964

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
jackparmer opened this issue Aug 20, 2017 · 4 comments
Open

Automatic hover text wrapping #1964

jackparmer opened this issue Aug 20, 2017 · 4 comments
Labels
feature something new P3 backlog

Comments

@jackparmer
Copy link
Contributor

This would nice for the workspace. The <br> workaround requires a lot of data prep.

image

Perhaps there could event be layout options for hover text width (in px) and alignment (left|center|right).

#1834 Might provide some direction for SVG text wrapping 👍

@jackparmer jackparmer added the feature something new label Aug 20, 2017
@etpinard
Copy link
Contributor

Related, but not a duplicate of #382

@Harsha-Nori
Copy link

Any chance this is being looked at? Word wrap in the hover text would be awesome!

Alternatively, if someone could point me towards the
workaround referenced, I'd really appreciate it!

@jackparmer
Copy link
Contributor Author

jackparmer commented Feb 15, 2019 via email

@drrmmng
Copy link

drrmmng commented Apr 12, 2020

This feature would really be helpful!

In python there is a workaround with textwrap, that I want to share for people who might work in python:

df["text"].apply(
    lambda t: "<br>".join(textwrap.wrap(t))
)

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

5 participants