anupp1983 Posted April 5, 2011 Share Posted April 5, 2011 Hi,How to display the fractional values in Pie chart...........<pie3DPlot labelFormat="{0} {2}" legendLabelFormat="{0} {1}"> <plot/> </pie3DPlotUsing this i can display only decimal values.....Like 20% 55%..........I want to display output in pie chart like 12.25%, 55.30%, 0.05%.........How can implement this.............. plz help me.. Thanks in advance... Link to comment Share on other sites More sharing options...
tmatyashovsky Posted April 5, 2011 Share Posted April 5, 2011 Hi, I would suggest to created NUMBER_FORMAT variable in report:java.text.NumberFormat.getPercentInstance($P{REPORT_LOCALE}) Then is your pie use something like this:$V{NUMBER_FORMAT}.format($F{YOUR_FIELD}) Hope this will help. Best,Taras Link to comment Share on other sites More sharing options...
anupp1983 Posted April 9, 2011 Author Share Posted April 9, 2011 Hi, I am using ireport3.6.According to your suggestion java.text.NumberFormat.getPercentInstance($P{REPORT_LOCALE}) i am getting exceptionjava.lang.ClassNotFoundException: java.text.NumberFormat.getPercentInstance($P{REPORT_LOCALE})is thr any jar file required for this exception?how to resolve the issue...Thanks in advance..Anup Link to comment Share on other sites More sharing options...
tmatyashovsky Posted April 10, 2011 Share Posted April 10, 2011 This class in traditional Java SE library since version 1.4. Can you attach original jrxml file? Link to comment Share on other sites More sharing options...
anupp1983 Posted April 11, 2011 Author Share Posted April 11, 2011 Hi, I am sending JRXMl.and I am using ireport3.6 and java vesion is 1.6.According to ur above suggestion,I m getting error.. java.lang.ClassNotFoundException Thanks in AdvanceAnup 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