Sign in to follow this  

Resizeto Not Working On Fc Xt 3.2.2 Sr5 (Javascript Renderer)

Recommended Posts

We recently upgraded to FusionCharts XT(v3.2.2) SR5 from SR3, and the resizeTo method on the charts doesn't seem to work anymore when using JavaScript renderer.

It works fine when using Flash charts.


I did some debugging and found that the resize method in FusionCharts.HC.js does not do anything because of the following check:


if (!(container && container.resize)) {



The *container* is empty, but not sure why. This was definitely working in SR3.




Share this post

Link to post
Share on other sites

This issue has now been resolved, I was calling setXMLData() after resizeTo() (which used to work in SR3), now I've just moved the resize call after setXMLData() which fixes this issue.

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