Hi. I'm a newbie for jasper report
I want to show a chart from jasper on jsp page [Portlet in liferay]. and value to draw a chart I get from webservice.
and I not found a solution to use data from another source and didn't use jrxml or jasper file.
Can you introduce this case to me?
I'm not sure that you can reference a chart from a report outside of the report in a given java context. It's duplicated effort, and not the cleanest approach, but Jasper Community edition uses JFreeChart, so you could use that same library outside of JasperReports, within the JSP, and simply generate the same chart on the JSP.
And if you're getting the chart from a web service, it may be possibe to access that service directly from the JSP.
In short, it seems you can bypass Jasper all together for this requirement.