简体   繁体   English

我可以使用 DynamicJasper 在 xls 报告中“并排”呈现表格和/或图表吗?

[英]Can I render tables and/or charts 'side by side' in an xls report using DynamicJasper?

I'm building a reporting application that's using DynamicJasper for exporting data to xls.我正在构建一个使用DynamicJasper将数据导出到 xls 的报告应用程序。 The reports are pretty dynamic in the sense that the user is able to customize the queries (one or more) that fetch the data.在用户能够自定义获取数据的查询(一个或多个)的意义上,报告是非常动态的。 The resulted data can be rendered as a table or as a chart.结果数据可以呈现为表格或图表。

Currently the tables and the charts (pngs) are rendered one after the other, in order, in a 'one column' layout.目前,表格和图表 (png) 按顺序以“一列”布局依次呈现。 I would need to add support for a 'two column' layout.我需要添加对“两列”布局的支持。 For example, to be able to have the tables/charts rendered side by side.例如,能够并排呈现表格/图表。

I have to mention that I'm using the DynamicReportBuilder.addConcatenatedReport API.我不得不提到我正在使用DynamicReportBuilder.addConcatenatedReport API。 No jasper-reports templates are being used.没有使用 jasper-reports 模板。

Are there any solutions to achieve this?有什么解决方案可以实现这一目标吗?

No, it is not supported.不,不支持。 It could maybe achieved with sub-reports, but coding is needed.它可以通过子报告来实现,但需要编码。 not easy不容易

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM