skip to Main Content

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

2

Answers


  1. Chosen as BEST ANSWER

    Found a solution by splitting the text into 2 parts and placing them one on top of the other.


  2. You’re splitting on space but none of the words contain spaces.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search