user1597811
user1597811

Reputation: 1073

bar chart in jasper idesigner printing twice in preview?

I have configured bar chart in idesigner but when I clcik the preview it is showing twice. Any idea why could this happen.

Thanks.

Upvotes: 0

Views: 748

Answers (1)

Sharad
Sharad

Reputation: 3548

Try to put your graph component into the SUMMARY band because detail band is repeat the records for every row in dataset.

I think you have put the graph in detail band so ,If you really need to put it in the detail band, you can try set the table property "printWhenExpression" to $V{REPORT_COUNT} == 1

To set the property to make chart in Summary or in detail band, you can edit in XML code or through designer you can add bands and move charts.

Upvotes: 2

Related Questions