print value in bar of a bar-chart

Hello,

I use jasperreports for rendering a barchart in html.
I have the requirement to print the value of the current
bar into or above the bar.
I only managed to print the value into the axis label but not into the chart?

Is there a way to do this with jasperreports?
AENeumann's picture
Joined: Feb 14 2008 - 9:51pm
Last seen: 15 years 7 months ago

3 Answers:

Hi AENeumann,

Are u using iReport for generating the report???

If so, u can do that by going to "Chart Properties" and then selecting the "Show Labels" check-box.

Thanks & Regards,
DNV Srikanth.
dnvsrikanth's picture
Joined: Jul 22 2007 - 1:29pm
Last seen: 4 years 10 months ago
Hi AENeumann,

Are u using iReport for generating the report???

If so, u can do that by going to "Chart Properties" and then selecting the "Show Labels" check-box.

Thanks & Regards,
DNV Srikanth.
dnvsrikanth's picture
Joined: Jul 22 2007 - 1:29pm
Last seen: 4 years 10 months ago
thanks, dnvsrikanth!
I did so and it did not work, because I had mistakenly generated a "stacked bar chart". In this case the "show labesls" Property does not work.

Now I have a "normal bar chart" and it works....
;)
AENeumann's picture
Joined: Feb 14 2008 - 9:51pm
Last seen: 15 years 7 months ago
Feedback