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

Automatically Resize HighCharts from JasperStudio in Visualize.js


craig.linderoth

Recommended Posts

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

  • 1 month later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 months 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...