0
我想要的是,某条记录的第一页的条形图,然后是下一页的记录数等等。 我为此搜索了很多,但没有找到确切的解决方案。 Jasper报告甚至有可能吗?如何在碧玉报告中生成分页条形图
我想要的是,某条记录的第一页的条形图,然后是下一页的记录数等等。 我为此搜索了很多,但没有找到确切的解决方案。 Jasper报告甚至有可能吗?如何在碧玉报告中生成分页条形图
您可以使用报告组来完成此操作。
在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.
见图表
嘿老兄THX,thts正是我一直在寻找。 – swapy 2013-03-13 04:54:53
如果条形图带有系列,这将如何工作? – Vaibhav 2013-07-31 11:28:35
这也适用于带有系列的条形图,试试吧。 – Sharad 2013-08-01 04:24:03