'Other' category in HTML5 pie chart

0

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: 4 years 2 months ago

1 Answer:

0

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
6793
Joined: Jun 16 2014 - 6:30am
Last seen: 9 hours 36 min ago
Feedback
randomness