I a using AnyChart in a React project. I would like to use wordWrap on my legend.
Here is the JSON configuration for my legend:
legend: {
enabled: true,
fontSize:10,
itemsLayout: 'vertical-expandable',
position:'right',
"width":60,
"wordWrap": "break-word",
"wordBreak":"break-all",
},
Each item in the legend has the text “lah blah blah” but as you can see in the picture, the text just gets cut off.
Does anyone know why the text is not going to the next line. Any help is greatly appreciated.