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

Labels / DataLabels supporting word-wrap and/or clipping #228

Open
Offbeatmammal opened this issue Feb 29, 2024 · 1 comment
Open

Labels / DataLabels supporting word-wrap and/or clipping #228

Offbeatmammal opened this issue Feb 29, 2024 · 1 comment

Comments

@Offbeatmammal
Copy link

at the moment I’m using some janky code to clip a label if it’s too large to fit into a treemap box.

curious if it’s possible using existing capabilities to do something like automatic wordwrap to try and fit the label into the box, and if it can’t fit then truncate (with ellipsis… to indicate truncation)

as an added complication, the text I’m using in the labels already has the format:
potentially long block of text that would need word-wrap or trunction some mandatory text that should always show

happy to pass the wrappable text and the mandatory line as two array elements

worst case I can re-visit my truncation code and see if I can work something out (but hoping someone smarter than me has already solved the problem!)

@bnovc
Copy link

bnovc commented Apr 12, 2024

I'd really like this as well. As far as I can tell, you cannot write multiple lines right now?

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

2 participants