Jump to content
We've recently updated our Privacy Statement, available here ×

Use Collcetion subDataset of table for Linechart


jigar.prajapati

Recommended Posts

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
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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..


 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...