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
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!)
The text was updated successfully, but these errors were encountered:
I was looking for the option to autowrap labels as well. Using overflow: "fit" sometimes makes labels to small to read, line wrapping would make it potentially more readable.
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!)
The text was updated successfully, but these errors were encountered: