Sign in to follow this  
thethakuri

Erro On Multple Charts Display

Recommended Posts

I have two different Charts on the same page. they both work perfectly , separately. but when trying to run both at the same time or toggle (with div display) usually one shows up and the other just reads "Charts." I believe its the issue of redefining functions in FusionCharts.php and maybe FusionCharts.js by two separate charts. There must be a way around it. Please advise !

Share this post


Link to post
Share on other sites

I have two different Charts on the same page. they both work perfectly , separately. but when trying to run both at the same time or toggle (with div display) usually one shows up and the other just reads "Charts." I believe its the issue of redefining functions in FusionCharts.php and maybe FusionCharts.js by two separate charts. There must be a way around it. Please advise !

Share this post


Link to post
Share on other sites

Hi thethakuri,

From what I understood, I think you have to give each chart a different (unique) label in the echo renderchart() or renderchartHTML () functions. I think that is the reason.

Hope this helps,

satish

Share this post


Link to post
Share on other sites

Hi thethakuri,

From what I understood, I think you have to give each chart a different (unique) label in the echo renderchart() or renderchartHTML () functions. I think that is the reason.

Hope this helps,

satish

 

I don't know what do you mean by label, but if your're talking about the xml container (I'm using dataxml), then I already have given them different names eg. $strXML & $supXML

Share this post


Link to post
Share on other sites

I don't know what do you mean by label, but if your're talking about the xml container (I'm using dataxml), then I already have given them different names eg. $strXML & $supXML

 

Sorry, got it. Thanks Satish, you're the man !!!

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