IReport - How to move the resulting pie chart on the first page of the report, and not at the end?

Is it possible to have a pivot chart as the first page of my multi-page report (just before the Detail group)? I need to display a pivot group as the first page when printing a report.

Your advice is appreciated!

Siyan

+4
source share
5 answers

Have you tried creating a pie chart dataset only? I think that if you do this, you can place the pie chart in any group that you would like.

+1
source

Turning around what Rogiller said: you can use a fake group (a group in truth) with only one group of group headers (print when $ V {PAGE_NUMBER} == 1). Then use the dataset to populate the chart and use Report as ExecutionTime, however this can be expensive if you have a database query because it will run twice.

You can also use a subreport.

Alternatively vote for this feature request:

0005115: the ability to display a summary bar before detailed reports

+1
source

I solved this problem by setting the evaluation time in the "Report":

<pie3DChart> <chart isShowLegend="true" evaluationTime="Report" renderType="draw" theme="default"> 

After that you can move the charts in the header or other ranges

+1
source

I am not now, if possible. But if you convert to pdf, you can simply rearrange iTetxt pages as a workaround. Or you can put a pie chart in the header section of the report page.

0
source

You can achieve this by adding the title of the report group, where you can get a summary pie chart with an additional data set.

0
source

Source: https://habr.com/ru/post/1311671/


All Articles