Adding Highcharts chart to JasperReport template generated with Java API

We're evaluating the pro version of JasperReports. For a POC, we need to generate dynamically (with the java API) a report template based on columns selected by a user on the UI, where the report prints a total at the bottom of the page.We are using the net.sf.jasperreports.* library to generate a report template, compile it and run it. That works fine.

However, we want to add next to the total a chart with each of  the values that comprise the total. We found the jaspersoft/highcharts jars and that seems to be the one to use, but need a code snippet to know how to add a chart to a report band.



pgschr's picture
Joined: Aug 13 2019 - 5:13pm
Last seen: 1 year 9 months ago

0 Answers:

No answers yet