Jump to content

HOWTO: Use a dynamic XML data source for charting


jbuberel

Recommended Posts

Just in case anyone out there would like to see how we were able to create a report - using only standard JasperReports v3.5.2 and iReport v3.5.2 without any custom code - that uses a remote XML data feed as a data source for chart generation:

http://blog.altosresearch.com/use-xml-data-source-for-chart-generation-in-jasperreports/

This does involve some clever use of JRXmlDataSource and JRLoader classes, but can all be done within the iReport tool directly. The coolest part is the use of report field values as parameters to the XML service URL to allow the remote web service API to return data specific to the details band of the report.

Hope this helps others,

Jason

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...