Henry Posted November 20, 2007 Share Posted November 20, 2007 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 More sharing options...
lucianc Posted November 20, 2007 Share Posted November 20, 2007 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 More sharing options...
Henry Posted November 30, 2007 Author Share Posted November 30, 2007 Hello Lucian, thank you for your answer. I will do it first with federated mysql tables because at the moment i have nerver work with custom data source. Regards, Henry 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