Query regarding Pie / Donut Chart

Posted by: nilesh_nichal on 8 January 2025, 5:55 am EST

    • Post Options:
    • Link

    Posted 8 January 2025, 5:55 am EST

    Hi Team,

    We are facing issue on Pie / Donut Chart, as you can see from the link https://developer.mescius.com/wijmo/demos/Chart/PieSunburst/DonutChartWithLabels/angular for count is Zero (0), we do not want to show this in the chart (for eg here in the link if vivo and others are 0% and overlapping). If count is Zero then it should not be visible on Pie / Donut Chart

    Please find the attached screen recording below and let us know if anything required from our end.

    video recording.zip

  • Posted 8 January 2025, 8:18 am EST

    Hi Nilesh,

    This is the expected behavior that all the slices (even with 0 value) are rendered in the chart, however, you can easily change this behavior to get the desired result by using the ‘itemFormatter’ function of the PieChart. Please refer to the following sample demonstrating the same - https://jscodemine.mescius.io/share/GbnAlEMtjU22jhRJz4VfJw/

    In case, you face any issues, please let us know.

    Regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels