Jasper reports 如何在jasper报告中生成分页条形图
这里我想要的是,第一页上x个记录数的条形图,然后是下一页x个记录数的条形图,依此类推。Jasper reports 如何在jasper报告中生成分页条形图,jasper-reports,bar-chart,Jasper Reports,Bar Chart,这里我想要的是,第一页上x个记录数的条形图,然后是下一页x个记录数的条形图,依此类推。 我找了很多,但没有找到确切的答案。使用Jasper Reports是否可能您可以通过使用报告组来实现这一点 在iReport中打开您的报告 1:-Open report and in Report inspector right click and select "Add Report Group" 2:-Give any name (eg. splitter) and select "Gr
我找了很多,但没有找到确切的答案。使用Jasper Reports是否可能您可以通过使用报告组来实现这一点 在iReport中打开您的报告
1:-Open report and in Report inspector right click and select "Add Report Group"
2:-Give any name (eg. splitter) and
select "Group by the following expression" and enter
$V{REPORT_COUNT} - 1 - ( ($V{REPORT_COUNT} - 1) % 3 ).
(here 3 means 3 bars in a page)
Click next and select Add the group footer.
3:- Open palette and drag and drop a chart element from the Palette into
the report designer on the group footer band.
4:- Select Bar Chart, follow the wizard:
a:- "Reset type" = Group
b:- "Reset group" = splitter
(same name what you gave at the time of Report data set creation)
c:- add series in Details tab.
请看图表
嘿,伙计,这正是我想要的。谢谢,这也帮了我们大忙。如果你有桌子,我怎么做?