Home › forums › Report Bugs › Labels are not coming in pie chart
This topic contains 3 replies, has 2 voices, and was last updated by Vishwas R 9 months, 1 week ago.
I have used pie chart. But some of the labels are not coming. Also during responsiveness, it’s not showing any of the labels.
indexLabels/labels in Pie Chart are skipped whenever they get closer to other indexLabels – this behavior is by design. You can workaround this issue by either rotating the Pie Chart as shown in this JSFiddle or by showing indexLabel outside the Pie Chart as shown in this JSFiddle – indexLabel’s are placed better when they are outside.
It would be useful if you can create a JSFiddle demonstrating the issue with minimal code, so that we can look into your code, understand the scenario better and guide you accordingly.
I tried rotating it to different angles, but every time one label was missing. So I reduce the width of the pie graph. Now it’s working fine
Thanks for the solution.
Glad that it’s working fine :)
You must be logged in to reply to this topic.