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
1 Answer:
Posted on December 9, 2014 at 8:01am
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")