'Other' category in HTML5 pie chart

I have created HTML5 pie chart, but there are to many elements in it. In the pie chart (no HTML5) I could set maxCount and minPercentage to limit the number of slices and create ‘Others’ category. Is there the possibility to configure same parameters in HTML5 pie chart?

Thanks,

 

Francesca

 

francesca.lombardi's picture
Joined: Jun 10 2013 - 3:42am
Last seen: 7 years 9 months ago

1 Answer:

Unfortunately, HTML5 Pie chart has no built-in properties to limit the number of slices.

You can try the following solution:

 - create a report variable that calculates summary value (Countries freight for sample Orders table)
 - add Chart Category expression to group countries with percentage value less than a fixed value (to say less than 5% of total summary value) to Others slice: 
 
IF((SUM($F{FREIGHT})/$V{V_TOTAL})>0.05,$F{SHIPCOUNTRY},"Others") 
 
asimkin's picture
27355
Joined: Jun 16 2014 - 6:30am
Last seen: 2 years 4 months ago
Feedback
randomness