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

multiple datasources in one Chart


Henry

Recommended Posts

Hello,

 

at the moment i create some charts from different data sources (mysql) inside one report. For e.g. i change the data source from subreport to subreport in the same report.

 

So, i have one Report with for e.g. 4 line chart diagrams, each with data from a different data source.

 

What i want now is to use different data sources in one chart. A line chart with data from multiple data sources.

 

My question now, is this possilbe directly in jasperreports?

 

An other solution for this is to use federated mysql tables. I prefer to solve the problem inside the report because i don't want to change our database installation (new database server with federated mysql tables).

 

Regards, Henry

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Henry wrote:

My question now, is this possilbe directly in jasperreports?

 

There is no built-in support for thin in JR.

 

However, you can write a custom data source implementation that collects data from multiple sources and use this data source to fill the report.

 

Regards,

Lucian

Link to comment
Share on other sites

  • 2 weeks later...

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