Jump to content
Changes to the Jaspersoft community edition download ×

Recommended Posts

Hi,

currently I have "{0}, {2}" in my charts legend label. But this displays the values with no decimal places at all, even though the data the chart uses is float values. This results in the charts legend sometimes summing up to 99% or 101% - rare but it happens.

It would be much better if it would be something like 99,99% or 100,01% - therefore I'd need decimal places in the charts legend label.

{2,##} | {2.##} | {2}.## and {2},## don't work as desired (the last two print the # as characters and don't use it to format, the first two don't do anything at all).

Is there any way to get decimal places in the label without needing to code a java class? And if not how would this java class need to look like and be used?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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