Sign in to follow this  
romsok

Charts embedded via HTML, but activated via JavaScript

Recommended Posts

Hi,

 

I have a page which is populated using AJAX, but the FusionCharts are embedded in it using HTML, not JavaScript. For now, I must use that....

 

So my AJAX call returns a response, and I set up a JavaScript function to take a part of the response and use it to generate an XML string and then insert this XML into <param name="FlashVars" value="" />and <embed FlashVars"">

 

But how can I "reload" the chart, so it actually displays the data I just gave it?

 

Thanks.

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

I'm afraid, to update the chart XML you require to use the External Interface function of our charts i.e. setDataXML or setDataURL.

There is no way you can directly insert the xml in the flashvars without using javascript.

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