Sign in to follow this  
saptarshi

FC v3.1 100% width, not working when created dynamically

Recommended Posts

Hey guys,

 

 

 

Was super excited when i saw a width of 100% will now work in v3.1 of fusioncharts. I know it doesnt work on resize, but even on initial load is just what i wanted.

 

 

 

Anyway it works fine using inline JS, but when you create the chart at any time other then the initial page load the chart will not render at all.

 

 

 

See my little example here:

 

 

http://dev.scratchpad.internetrix.com.au/fcharts.html

 

 

 

Clicking "show graph with fixed width" will show the 500px wide graph fine, but clicking 'show graph with 100% width' renders nothing. Interestingly the render call still returns true.

 

 

 

All the data im using in my example is exactly the same for all of the charts.

 

 

 

Thanks guys!

Edited by Guest

Share this post


Link to post
Share on other sites

Perfect, thanks so much guys :)

 

 

 

I'll assume this will be part of the new version? So ill just keep using the file you linked on the form until something newer comes out?

 

 

 

Thanks again!

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
Sign in to follow this