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

Create Chart/Graph Using collection


jigar.prajapati
Go to solution Solved by joseng62,

Recommended Posts

Currently i m new at ireport. i want to create chart/graph using Java.util.collection in which pass through java code.
Previously i create table with data using collection but in chart i cant find any reference.
Can u please provide me sugegstion to create chart using collection .
Or
how can i use table dataset to create chart/graph ?

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

In the chart, you can usually select a dataset to run, which default is set to Report main dataset. 
But if you create another dataset and selected it in the drop down in the chart properties. You can then select
data source Expression and select "Use a DataSource expression"
Then use the JRDatasource.

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