svenn Posted August 1, 2007 Share Posted August 1, 2007 Is there a way to format the label value on the top of my bar chart. It currently reads with two decimal places. I would like to display it with only one. size=398]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/bargraph.jpg Link to comment Share on other sites More sharing options...
mmflynn Posted August 2, 2007 Share Posted August 2, 2007 I just did this for a chart that uses a BigDecimal: Code: Got set in the right direction from [url=http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html#ROUND_HALF_UP]http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html#ROUND_HALF_UP You may need to use something different based on your data type. Good luck! Mary size=210]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/BigDecimalRound.gif Link to comment Share on other sites More sharing options...
niennamiriel Posted August 11, 2009 Share Posted August 11, 2009 how did you get the 31.07 and 12.8 points above your bars, how should I do that, regards, Post Edited by niennamiriel at 08/11/2009 08:21 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