Home:ALL Converter>JasperReports empty chart at Report Group change

JasperReports empty chart at Report Group change

Ask Time:2011-08-19T00:32:04         Author:beefyhalo

Json Formatter

I am using JasperReports with iReport to generate reports from a MySQL data source. The reports I am attempting to generate use Report Groups to organize the information. Also, I have a chart that appears at the footer of each page displaying info for the current grouping. The chart's reset type is Group, and it is placed in the column footer to achieve this. Also, a new page is forced when the report group changes.

The problem that I am having is that when the Report Group changes, (at the last page of each grouping) I am left with an empty chart on that page. On the proceeding pages, the chart resumes with valid data.

Does anyone have any tips as to how I can fix this?

  • A good solution would have the chart displaying the data for the group.
  • An okay solution would have the chart hidden at the time of a report grouping change

Author:beefyhalo,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/7110880/jasperreports-empty-chart-at-report-group-change
yy