Use Collcetion subDataset of table for Linechart

0

i want to use Collcetion subDataset of table for Linechart.
currently i want to create linechart using java.util.collection
i m  new in user i report.
Here Is the step which i use to create report

Create 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 up
i 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 badly

Thanks

jigar Prajapti
jigar.prajapati's picture
Joined: Apr 19 2017 - 8:39pm
Last seen: 2 months 2 weeks ago

1 Answer:

0

Got Solution after Many Effort:
I use same datasource for Chart and Table
and Create collection parameter for jav collection with same name of java colection which derived in parameter by java code
in 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..


 

jigar.prajapati's picture
Joined: Apr 19 2017 - 8:39pm
Last seen: 2 months 2 weeks ago
Feedback
randomness