RamKumar Posted September 28, 2006 Share Posted September 28, 2006 HiHow can I use crosstab data to populate a pie chart?I am using Jasper1.2.3.My requirement is to generate a pie chart using crosstab row totals. Is it posiible?Any help in this is greatly appreciated. Thanks in advance.Ram Link to comment Share on other sites More sharing options...
Teodor Danciu Posted September 28, 2006 Share Posted September 28, 2006 Hi, The crosstab has a special calculation engine that produces aggregated data which is not available outside the crosstab.If you want to have a chart that display the same data as the crosstab, then you just need to fill them using the same subDataset, but of course different datasetRun instances.The chart component would calculate the totals again from the raw data in the subDataset. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
RamKumar Posted September 28, 2006 Author Share Posted September 28, 2006 Thanks Teodor for your quick reply. But I never worked with subdatasets. Teodor, Can you explain me how to use subDataset with different datasetRun instance in the same report? I appreciate if you can help me in this. ThanksRam 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