kashoory Posted June 4, 2014 Share Posted June 4, 2014 I am using HTML5 charts in Jasper Studio Professional. I want to set the tooltip to show a whole number and the percentage and set the decimals just for percentage. I found something like this from an example:<spanstyle="color:{series.color}">{series.name}</span>:<b>{point.y}</b>(<b>{point.percentage:.0f}%</b>)<br/>[/code]but it does not work correctly. After running the report in Jasperserver AWS, I can see the text "{point.percentage:.0f}%" in the tooltip instead of formatted number!Anybody knows what is the problem and the solution?Regards,Keivan Link to comment Share on other sites More sharing options...
Solution marianol Posted June 16, 2014 Solution Share Posted June 16, 2014 Are you using JasperServer 5.5 in AWS? Look at this article regarding using formatting functions http://community.jaspersoft.com/wiki/functions-can-be-used-format-html5-datalabels-and-tooltips also note at the bottom of the article that talks about a bug on some of the JRS 5.5 builds. Link to comment Share on other sites More sharing options...
kashoory Posted June 18, 2014 Author Share Posted June 18, 2014 Thanks marianol. I had to use that formatter eventually. It has a bug in it but you can get it working somehow. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now