clapoint_1 Posted October 14, 2014 Share Posted October 14, 2014 I have developed two Jasper reports: a simple pie chart and a standard tabular-style report presenting the details for a given wedge/section of the pie chart. I want the pie chart to drive the contents of the detail report, but I don't want to drill down exactly. Rather, I want the pie chart to remain visible in the same window next to the details so that a user can simply click one of the pie chart wedges/sections and view the associated details - more like a Master-Detail Form, where users can navigate from one Master record to another to view the associated details. I'm a beginner with Jasper Reports, so the only way I know of to accomplish this mission is to merge the two reports into a single combined report and configure a hyperlink for the pie chart measure to re-execute the combined report, passing in a wedge-/section-specific parameter value that can be fed to the detail subreport. However, this isn't a very elegant solution. Is there a better, more efficient approach? Can/should I use a dashboard? Link to comment Share on other sites More sharing options...
hozawa Posted October 14, 2014 Share Posted October 14, 2014 If you're using the Pro version, the best way now is to use Visualize.js and just create a web page with 2 reports. Link to comment Share on other sites More sharing options...
butlerc Posted October 15, 2014 Share Posted October 15, 2014 You need to create 1 report with 1 dataset.Add the pie chart to the same report and use the dataset to drive it.Now add the table element and make sure you use the same dataset to drive that also.If users filter on the table the pie chart will update and reflect those changes - im sure you can engineer this in reverse also. 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