0

I am using a pie chart for my diagram. The problems is sometimes the text or the name of a category is really long and it makes my pie chart gets smaller than usual. How I can set a width limitation for each text?

This is my pie chart with a long category name: Here

Abshakiba
  • 363
  • 3
  • 8

1 Answers1

0

Answered here, and here is a fiddle that demonstrates.

In brief - you can add a style to the dataLabels:

style: {
    width: '50px'
}
Community
  • 1
  • 1
S McCrohan
  • 6,663
  • 1
  • 30
  • 39