laughinglion

Chart redrawing after making div visible

Recommended Posts

Hi,

 

 

 

I am making a single page web application that uses tabs to represent pages. For example one tab may display a graph and another tab display something else. When you click on a tab, the previously shown tab is hidden (the div) and the clicked tab's div is shown. When the graph's tab is hidden en then made visible again, the graph is blank and then redrawn. Is it possible to stop this behaviour?

 

 

 

I use the prototype library and the flash object is embedded in a div that is hidden with $(div).hide(); and then made visible with $(div).show();.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Please try setting the value of the attribute "animation" in the <chart> element to '0'.

Please note, in this case however the chart will not show the animation functionality even when it will render for the first time.

Hope this helps. :)

Share this post


Link to post
Share on other sites

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