how to show tooltip/value over bar chart?

1

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 ?

 

sagarnikam123's picture
Joined: Nov 1 2012 - 10:33pm
Last seen: 8 months 1 day ago

5 Answers:

2

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. 

ajinkya_c's picture
976
Joined: Aug 29 2012 - 6:13am
Last seen: 2 years 4 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 ?

sagarnikam123 - 6 years 7 months ago

can u tell me according to ireport 4.7

sagarnikam123 - 6 years 7 months ago
1

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.  

ajinkya_c's picture
976
Joined: Aug 29 2012 - 6:13am
Last seen: 2 years 4 months ago

Show labels

sanbez - 6 years 7 months ago

@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

sagarnikam123 - 6 years 7 months ago
0

As Show label already checked, but there also unchecked it and again check then changes reflected.

ajinkya_c's picture
976
Joined: Aug 29 2012 - 6:13am
Last seen: 2 years 4 months ago
0

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
 

sanbez's picture
834
Joined: Jan 11 2011 - 2:06am
Last seen: 1 month 2 days ago
2

@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. 

 

ajinkya_c's picture
976
Joined: Aug 29 2012 - 6:13am
Last seen: 2 years 4 months ago

thanks

sanbez - 6 years 7 months ago

@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

sagarnikam123 - 6 years 5 months ago

Does this bug,present in iReport-4.8

sagarnikam123 - 6 years 5 months ago
show 1 more...

Does this bug,present in iReport-4.8,where can I find that (bug list) ?

sagarnikam123 - 6 years 5 months ago
Feedback
randomness