Sign in to follow this  
Guest Basundhara Ghosal

How to add historical data in Real-time Line dynamically?

Recommended Posts

Hi All,

 

I provide the historical data when the chart has rendered for the first time. While the Real-time chart is running, I rewrite the XML file to add some new historical data. After rewrting, I refresh the web page.

 

And the problem happens, the chart displays the old historical data.

 

I guess that when the web page is refreshed the chart do not read the new historical data in the rewrited XML file.

 

 

 

Please let me know how to do in this case???

 

Thank you so much!

 

 

 

Tony

Share this post


Link to post
Share on other sites

Hi,

 

 

 

Could you please try passing some random value to clear the cache as shown below?

 

 

 

myChart.setDataURL("Data Chart.xml?NoCache=some random timer value");

 

 

 

Hope this helps. :D

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

 

 

 

Glad that we could help you.

 

 

 

Happy FusionCharting. :)

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