craig.linderoth Posted April 8, 2015 Share Posted April 8, 2015 When a HighChart object is created in the AdHoc tool on the server and then pulled into a web DIV by visualize, the chart will dynamically resize as the window is expanded or contracted. However, when we build the chart in JasperStudio, because we need to manipulate many of the properties and make better Input Controls, the chart is rendered as a static size. We have moved the chart out of the table that is is embedded in when run from a JasperStudio object, however it is still a static layout. I have looked through the beforeRender DOM manipulation to try and see if I can add the resize, but still no luck.http://jsfiddle.net/Galadin/ck1zcu4j/ is the current fiddle I am using to try and manipulate the DOM (you can't actually run this code since our server is behind our firewall). Link to comment Share on other sites More sharing options...
craig.linderoth Posted May 29, 2015 Author Share Posted May 29, 2015 Still no solution? There has to be a way to add a class to the dom object or something to allow these charts to have the same resize behavior as in the adhoc tools. Link to comment Share on other sites More sharing options...
kkumlien Posted September 30, 2015 Share Posted September 30, 2015 Hi Craig,this article might have the answer: http://community.jaspersoft.com/wiki/report-zoom-visualizejsPlease let me know if that doesn't work for you.Cheers 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