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

How to show lable and percentage on pie chart ?


mjvinoth

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Hi, Vinoth

 

You always seem to follow each question with one or more following "Please help" messages.

This is not needed and only contributes to internet traffic.

If you are under so much preassure, maybe you should consider purchasing a support contract from JasperSoft, in which you have guaranteed response in a matter of a few hours.

 

As for your percentage in pie charts question, note that the pie charts have two properties: labelFormat and legendLabelFormat.

They support tokes such as {0}, {1}, {2}, for introducing the value, the category name or the percentage.

As for the total, we all know it will always be 100%, so there is no support for displaying the total in the legend. At least now with the JFreeChart library that we are using for charts.

 

I hope this helps.

Teodor

 

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...