atiquek Posted April 8, 2012 Share Posted April 8, 2012 Hi All,I am using Custom Data Source to fetch data to create a report wherein I have a detail section which displays data in a tabular format followed by a custom chart in the summary section. The tabular format isDate Item1 Count Item1 Count Item3 Count01/03/2012 35 45 5202/03/2012 55 25 5803/03/2012 45 45 65The chart is supposed to display this data in a bar chart with three series for Item1, 2 & 3. I understand the main query could not be used for the chart. I have modified the data to be a JRCollection likeDate date; String item; Integer count; so that item can be used a series, date as category and count as value.Could someone please advise how can I pass this bean to the chart. One thing to note this is implemented using Custom data source and the data can be retrieved only once using custom data source and passed along to the chart.Thanks,AtiquePost Edited by atiquek at 04/08/2012 09:11Post Edited by atiquek at 04/08/2012 09:12 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now