sagarnikam123 Posted December 19, 2012 Share Posted December 19, 2012 I am using iReport 4.7 community edition,ubuntu 12.04,making report & viewing it in both iReport and in HTML format, in chrome browser. I put 3D bar chart in summary band and want to show value on its tip (i.e. on top).So I go by below way. 1) check on show Labels & show Legends in 3D Bar Chart Properties 2) Right click on Chart > Chart Details > Details > Category Details > by selecting category,Modify > Item Hyper link > Tool tip > Tool tip Expression > $F{dayname(ServiceDate)}.toString() , where $F{dayname(ServiceDate)} is field name even though, its not showing anything outside_use_charts. Is this facility not present in community edition ? Should I embed any other .jar file for that ? Link to comment Share on other sites More sharing options...
Solution ajinkya_c Posted December 20, 2012 Solution Share Posted December 20, 2012 Tooltip provide to show value when mouse over event occur on that perticular bar. If you want to show value above the bar then there is a property to show value. select bar chart and go to its properties.In Pie chart you can write label expression like "label : value expression" so it displays label with respective values.Try this may be helpful. Link to comment Share on other sites More sharing options...
sagarnikam123 Posted December 20, 2012 Author Share Posted December 20, 2012 @ajinkya_c,thanks, It works for Pie charts using "Legend Label Format" as {0} {2}, but for Bar chart,there is nothing like "show value" in Properties for Ireport 4.7 Can u elaborate more on how to set property ? Link to comment Share on other sites More sharing options...
sagarnikam123 Posted December 20, 2012 Author Share Posted December 20, 2012 can u tell me according to ireport 4.7 Link to comment Share on other sites More sharing options...
ajinkya_c Posted December 20, 2012 Share Posted December 20, 2012 Go to the BarPlot properties where you find some propertis likeValue axis Verticle tick label , Show labels, Show tick labels etc.I not remeber which property exactly I used but out of that properties one property surely used for your requirement.So check all BarPlot properties and Let me know which property you used. Link to comment Share on other sites More sharing options...
sanbez Posted December 21, 2012 Share Posted December 21, 2012 Show labels Link to comment Share on other sites More sharing options...
sagarnikam123 Posted December 21, 2012 Author Share Posted December 21, 2012 @ajinkya_C,I select "Check ON",on all properties below ,1)Value axis Vertical Tick labels 2)Category Axis Vertical tick labels 3)Show Labels 4)Show Legends, but its not showing values over tip Link to comment Share on other sites More sharing options...
ajinkya_c Posted December 21, 2012 Share Posted December 21, 2012 As Show label already checked, but there also unchecked it and again check then changes reflected. Link to comment Share on other sites More sharing options...
sanbez Posted December 21, 2012 Share Posted December 21, 2012 Explain this, please. For check "Show labels" I am "playing" with this check box, and in first step labels not showing in report. After that I write customizer and labels was displayed. After thhat I am delete customizer and labels was displayed too. I do not understand this behavior Link to comment Share on other sites More sharing options...
ajinkya_c Posted December 21, 2012 Share Posted December 21, 2012 @Sanbez,Some how even this check box looks checked but that check not active when you uncheck it & then again checked then that property becomes active first time. This behaviour should always remember becouse to make any property active you need to click on it but there also some properties like Value axis tick label mask which used for masking not worked from property window eighter you have to set it from XML code or by some customizer class.This issue i raised in bug tracker earlier, may be fixed in Jasper 5.0Let me know if you know any tricks and tips about jasperserver properties. Link to comment Share on other sites More sharing options...
sanbez Posted December 21, 2012 Share Posted December 21, 2012 thanks Link to comment Share on other sites More sharing options...
sagarnikam123 Posted February 1, 2013 Author Share Posted February 1, 2013 @ajinkya_c & @Sanbez,call u tell me properly how to write A customizer class & where to put it,just to show value axis tick labels.I seen some customized class samples,but they are out of my control to understand Link to comment Share on other sites More sharing options...
sagarnikam123 Posted February 1, 2013 Author Share Posted February 1, 2013 Does this bug,present in iReport-4.8 Link to comment Share on other sites More sharing options...
sagarnikam123 Posted February 1, 2013 Author Share Posted February 1, 2013 Does this bug,present in iReport-4.8,where can I find that (bug list) ? 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