How to create multiple charts of same type but with different dataseries using JRBeanCollectionDatasource in Jasperreports

I have to create multiple XY-line charts with different dataset using same chart report template and I also have to use JRBeanCollectionDatasource for it.

Requirements:

1) Should be done using JRBeanCollectionDatasource.

2) Have to use the same chart report template to create multiple charts.

3) Number of charts are not fixed (Here I have problem giving names to Report Parameter in java). Because in ReportParametersMap, they can only have unique key name .

 

dhruvil.27392's picture
Joined: Jul 21 2016 - 1:51am
Last seen: 6 years 3 months ago

1 Answer:

Sorry by mistake in above answer I have linked the wrong URL and I was not able to delete or edit the answer

that's why I am writing the new solution

here is the link for reference blog

dhruvil.27392's picture
Joined: Jul 21 2016 - 1:51am
Last seen: 6 years 3 months ago
Feedback
randomness