how to show tooltip/value over bar chart?
Posted on December 19, 2012 at 6:17am
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

Is this facility not present in community edition ? Should I embed any other .jar file for that ?
Joined: Nov 1 2012 - 10:33pm
Last seen: 4 years 2 months ago
Posted on December 19, 2012 at 10:23pm
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.
Joined: Aug 29 2012 - 6:13am
Last seen: 5 years 10 months ago
Posted on December 20, 2012 at 7:47am
Go to the BarPlot properties where you find some propertis like
Value 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.
Joined: Aug 29 2012 - 6:13am
Last seen: 5 years 10 months ago
Posted on December 20, 2012 at 10:55pm
As Show label already checked, but there also unchecked it and again check then changes reflected.
Joined: Aug 29 2012 - 6:13am
Last seen: 5 years 10 months ago
Posted on December 20, 2012 at 11:25pm
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
Joined: Jan 11 2011 - 2:06am
Last seen: 2 years 3 months ago
Posted on December 20, 2012 at 11:38pm
@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.0
Let me know if you know any tricks and tips about jasperserver properties.
Joined: Aug 29 2012 - 6:13am
Last seen: 5 years 10 months ago
@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 ?
can u tell me according to ireport 4.7