newToJasper Posted August 27, 2008 Share Posted August 27, 2008 In web application, user can customize page to show number of charts (developed using jasperreports) as per requirements. To utilize available space, we need to change size (height / width) dynamically of chart.I checked forums and found information about alter design as well other alternaive to load jasperdesign, make modifications, recompile and fill.I can not use alter design approach as Jasper API does not provide method to update height. I can change width / X,Y positions etc.So I tried Jasper design which is also not allowing me change chart element height in summary band. Is there a way to modify chart height?I appreciate immediate reply as I need to demo this to top management. Link to comment Share on other sites More sharing options...
newToJasper Posted September 2, 2008 Author Share Posted September 2, 2008 I found solution but still some issues are not able to solve. I am using JasperAPI, JRXMLLoader to load JasperDesign. Then iterating all elements setting required height and width. At last compile jasperdesign using JasperCompileManager.This works for single charts. But for MultiAxisChart I need to set plot to JRDesignChart which can not be done.Does anyone found solution to add MultiAxisPlot in chart using jasper API? 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