reports with charts...

By: Adriana Mestrinelli Paranhos - jasperdri
reports with charts...
2003-02-18 12:13
Hello everyone...

I saw in samples from JasperReports that it´s possible to create a report with a chart, using the JFreeChart tool....

I´m already using the jfreechart....can I create a report mixing my data and my chart??
for example, in the first page my report and in the second my chart??
how could i do this??

thanx




By: Thomas Richter - hornet_f4c
RE: reports with charts...
2003-02-24 05:42
I would suggest to include the chart as Image.

You can provide the Image as Paramter or even in the ImageExpression directly call a method to generate the chart and return it ... as java.awt.Image, java.io.Inputstream ...whatever.


In short, just include your chart as image. See the dtd of the imageexpression for possible formats how to provide an Image.
Finally you have just to figure out, how to provide the image to the report. I think as parameter would be a good way in your case.
2002 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:28am
Last seen: 17 years 1 month ago

0 Answers:

No answers yet
Feedback