Forum Discussion

cglowe's avatar
cglowe
Cloud Apps
12-20-2024
Solved

Disable single slice of pie chart

On a pie chart, where the 'Others' slice is enabled, is there a way disable the click action for only the 'Others' slice? We have some instances where the Others slice contains several hundred member...
  • harikm007's avatar
    01-04-2025

    Hi cglowe ,

    Here is a small script that makes the "Others" slice behave similarly to the other slices. This means that when you click on it, it won't display the underlying items. Instead, it will apply a dashboard filter for those items. Is this what you're looking for?

    widget.on('processresult', function(w, args){
    	args.result.drilldown = undefined
    })

     

    result:

     

    Let me know if you need any more adjustments!

     

    -Hari

    www.binextlevel.com