Reputation: 11
I want to wrap the text on this sunburst chart so it is displayed in 2 or more lines instead of 1. The test data is not the best, but it shows the scenario am facing - Link to VegaEditor.
I have tried to split and join it, but with no results.
Slice and join, but with no result
Upvotes: -1
Views: 178
Reputation: 11
Found a solution by splitting the text into 2 parts and placing them one on top of the other.
Upvotes: 0
Reputation: 30344
You're splitting on space but none of the words contain spaces.
Upvotes: 0