Jump to content
Changes to the Jaspersoft community edition download ×

reports with charts...


Recommended Posts

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.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...