lksingh Posted February 24, 2012 Share Posted February 24, 2012 Hi All,I've created a bar chart in iReports. My reqirement says that the data should be displayed in percent(%).Attached is the sample bar chart. What I need to achieve is instead of displaying the values as 25,75,100,83... it should be displayed as 25%,75%,100%,83%.Please suggest some solution to achieve this !!!!(P.S : I'm using iReport Version 4.0.1)Post Edited by lksingh at 02/24/2012 13:13 Link to comment Share on other sites More sharing options...
mennei Posted February 27, 2012 Share Posted February 27, 2012 Try to put "#0.00%" in "Value Axis Tick Label Mask" property.Code:<valueAxisFormat> <axisFormat tickLabelMask="#0.00%" verticalTickLabels="false"> <labelFont> <font fontName="Arial" size="8"/> </labelFont> </axisFormat></valueAxisFormat> Link to comment Share on other sites More sharing options...
swarm357 Posted December 19, 2012 Share Posted December 19, 2012 i have comparable data, but when i implement your solution mennei my y-axis magically gets multiplied by 100 so instead of having a y-axis showing 5%, 10%, 15%, etc ... i have 500%, 1000%, 1500%, etc ... any ideas why this might be occurring? Thanks Link to comment Share on other sites More sharing options...
sritharhello Posted June 21, 2013 Share Posted June 21, 2013 Try to use % ASCII of % ..... Link to comment Share on other sites More sharing options...
rachita.iyer27 Posted March 13, 2014 Share Posted March 13, 2014 got solution? please share Link to comment Share on other sites More sharing options...
hlosukwakha Posted April 16, 2014 Share Posted April 16, 2014 This works; #% But it rounds to the nearest 10. I want something that Rounds up or to the nearest percentage point Link to comment Share on other sites More sharing options...
guillaume_1 Posted October 14, 2015 Share Posted October 14, 2015 This one works : #.#' %'it doesn't multiply par 100 the axis number 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