Jump to content
We've recently updated our Privacy Statement, available here ×

PDF Chart Repeated


tel99mex

Recommended Posts

Hi, I'm working on iReports 4.6.0, getting data from Mysql database.

*Query on DB is getting 48 rows and 4 Columns(see attached)

*Using "Line Chart" type(see attached)

But I'm having problems when I get the preview report, the PDF is showing 48 charts all are the same(see pdf attached).

 

The matrix is a 48x4 It should be showing only 1 chart but is showing 48 as I mentioned before.

 

Thank you in advance.

Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

gdmoreno, it is in the Detail band, If i put the chart in the Summary band or another one it gives me a warning after compilling:

Warning: Element bottom reaches outside band area.

I'm affraid that is not valid to put the chart in summary band.

 

Thank you for you time!

 

 

 

Link to comment
Share on other sites

Hi, you get the " Warning: Element bottom reaches outside band area" message when the chart element is bigger than the dimensions of the band. So try stretching down the summary band so that the line chart element fits inside the Summary band.

You can make the Summary band bigger by pulling down the bottom edge of Summary band. Or you could select the Summary band in the Report Inspector, and set the "band height" property to a higher value.

 

Link to comment
Share on other sites

Yes, I've tried that but still not working, see attached the pic, there is a warning when I try to pull the pic to another band.

It's very strange, i can't understand why it's givin me so much charts.

Por example, if I get only 12 rows it gives me 12 charts.

Thanks.

 

Link to comment
Share on other sites

Great news! I've solve it.

gdmoreno: you were right, the chart must be in the summary band, but i had to reduce the other bands and give more space to the summary band without overpassing the A4 format in order to have only one chart.

 

Now it looks great!

 

Thank you very much.

Link to comment
Share on other sites

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