Generate two pages of diagrams in iReport

96 views Asked by At

How I can create a report with two pages in the first bar chart and a crossTab in the second, the pages should have the header and footer.

I could not use the same band detail, so that the graph is duplicated.

Please an idea.

2

There are 2 answers

2
Durandal On

There is a gazillion of ways you can do this:

  • Pass in data as parameters and create multiple detail bands (right click on detail, add another ...). Place whatever you want in the bands. You can create as many completely distinct pages as you like this way.
  • Place an image in the detail band, and pass an image for each record (generate the graphs as images)
  • Create two completely unrelated reports and print one after another, you can even combine them into a single print job, so the user doesn't even see that they are separate things.
0
Wilmer On

well I managed to generate reports using $V{PAGE_NUMBER} == 1 in PrintWhenExpression, adding crosstab in band Sumary and allowing the header and footer is displayed in band Sumary.