Format chart legend label

1

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?

MiditecReportDev's picture
Joined: Mar 6 2016 - 11:42pm
Last seen: 10 months 4 days ago

1 Answer:

0

Bump.

Anyone able to help there? It would be quite important to know this.^^°

MiditecReportDev's picture
Joined: Mar 6 2016 - 11:42pm
Last seen: 10 months 4 days ago
Feedback
randomness