如何在jasperreport中输出不同的两个图表?

时间:2012-01-17 08:19:15

标签: jasper-reports

我想显示2个类型的图表,一个是lineChart,另一个是stackedBarChart,有两个列表,第一个用于lineChart,第二个用于stackedBarChart,我想显示以下内容:

lineChart(datasource:list1)

table1(显示list1详细信息)

stackedBarChar t(datasource:list2)

table2(显示list2详细信息)

感谢每一个人。

那是我的jrxml:

http://jasperreports.sourceforge.net/xsd/jasperreport.xsd“name =”lineChartTest“pageWidth =”595“pageHeight =”842“whenNoDataType =”AllSectionsNoDetail“columnWidth =”555“leftMargin =”20“rightMargin =”20 “topMargin =”20“bottomMargin =”20“>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

1 个答案:

答案 0 :(得分:0)

http://jasperreports.sourceforge.net/xsd/jasperreport.xsd“name =”lineChartTest“pageWidth =”595“pageHeight =”842“whenNoDataType =”AllSectionsNoDetail“columnWidth =”555“leftMargin =”20“rightMargin =”20 “topMargin =”20“bottomMargin =”20“>