Home Forums Chart Support Some labels not appearing on pie chart

Some labels not appearing on pie chart

Viewing 7 posts - 1 through 7 (of 7 total)
  • #17526

    I have a fiddle here:

    https://jsfiddle.net/hf3j3cmf/1/

    I notice the labels aren’t appearing for some items. Any idea why?

    Thanks,

    Carl

    #17527

    I’ve also noticed that if I reduce the font size for the labels, more labels do appear.

    #17537

    Carl,

    indexLabels are skipped when there is limited space available for the indexLabels to display or they get too close to other indexLabels (to avoid overlapping) – this behavior is by design.

    You can workaround this issue by rotating the Pie Chart using startAngle.

    ___________
    Indranil Deo,
    Team CanvasJS

    #17538

    On the fiddle there is loads of space available, like the segment that covers 240deg of the pie. Why is that one not showing?

    #17539

    Is there any way to reduce the size of the actual pie, and so give more space for labels?

    #17540

    I’ve also noticed that if you make the container height 80% of the width it works fine. Therefore giving it more space to work in for the labels. May help someone else.

    #17556

    Carl,

    You can control the size of the Pie/Doughnut chart by setting the radius property.

    ___________
    Indranil Deo,
    Team CanvasJS

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.