Jump to content
We've recently updated our Privacy Statement, available here ×

'Other' category in HTML5 pie chart


francesca.lombardi

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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") 
 
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...