jigar.prajapati Posted April 21, 2017 Share Posted April 21, 2017 i want to use Collcetion subDataset of table for Linechart.currently i want to create linechart using java.util.collectioni m new in user i report.Here Is the step which i use to create reportCreate simple report. after that i cretae parameter to use java collection then i cretate one table to show data in Table text mannner.but now i want to create Line chart with using table dataset.i created Line chart to show table in Chart fomation . i dont know how to show upi tried to create report and later i proide subdataset of table and provide category series value experssion but my report doesnt show any thing i m not sure the field i setteled is right aor wrong.if anyone has idea to create any chart with using java collection please bring me out from this problem.i stuck badlyThanksjigar Prajapti Link to comment Share on other sites More sharing options...
jigar.prajapati Posted April 28, 2017 Author Share Posted April 28, 2017 Got Solution after Many Effort:I use same datasource for Chart and Tableand Create collection parameter for jav collection with same name of java colection which derived in parameter by java codein first where i user datasource firsttime i user datasource expression as "$P{collectionParameter}.Clonable()"and For Chart i use Dataset Expression as "$P{collectionParameter}".and i get Chart and table both using same dataSet and same DataSource.. 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