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.