student student - 13 days ago 4x
Javascript Question

Avoid hiding labels in DevExtreme pie chart

To solve the below problem, I've tried setting


I've got a pie chart:

proper pie chart label

which renders labels perfectly.

Sometimes when we change the
- the labels gets collapsed. And shows only

collapsed pie chart label

My intuition says this happens because of un-necessary white space on the right side.

How do I avoid this behaviour?


This is a known issue. But, currently, this behavior cannot be changed. This is in DevExpress' to-do list: dxPieChart - Provide the MinAllowedSizePercentage property.

When implemented, it should make it possible to improve the resulting chart layout by configuring the minimum allowed Pie size.