Adis Corovic Report post Posted October 18, 2009 Hi all, Although I thought that I could solve this problem easy, I just cannot find the suitable solution for me. My situation: I have a tool that generates the XML file I need. In a HTMl file I use an object instead of an iframe to show the chart: <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" BORDER="0" WIDTH="750" HEIGHT="500" id="FC_2_3_Column3D"> <PARAM NAME=movie VALUE="../FusionCharts/AngularGauge.swf"> <PARAM NAME="FlashVars" VALUE="&dataURL=../Data/backlog.xml&chartWidth=750&chartHeight=500"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> </OBJECT> This works fine for me but I have a refresh problem.. So IE is chaching the data so my charts are not real time.. Could someone please advise.. Share this post Link to post Share on other sites
Adis Corovic Report post Posted October 27, 2009 (edited) does anybody has an suggestion? Edited October 27, 2009 by Guest Share this post Link to post Share on other sites
shamasis Report post Posted October 28, 2009 (edited) ... Greetings, In general, realtime charts do not have any caching issue as the browser is not involved much while fetching data. I hope you are using the correct method for loading real-time charts as specified at FusionWidget documentation (http://www.fusioncharts.com/widgets/docs/) section: "Data Streaming Charts > Creating a simple example." http://www.fusioncharts.com/widgets/docs/Contents/DSC_Example.html If your problem persists even after implementing the real-time charts in the above-mentioned way, then send us a working sample of your code and we will look into it. Edited October 28, 2009 by Guest Share this post Link to post Share on other sites
Adis Corovic Report post Posted November 15, 2009 Hi Shamasis, (sorry for my late reply, I was out of office for a while)...My situation is as follow: I create the XML file (the XML is correct) directly uit a SQL database. The XML file is located in C:Dashboardsdata. Furthermore I have a HTMl file and in the HTML I am using an object to show the data. This is according to FusionCarts documentation: http://www.fusioncharts.com/widgets/docs/Contents/HTMLEmbed.html The XML file (with 7 records of pure data, so the output is 7 bars) is refreshing with a refresh rate of 5 seconds. So sometimes i see that the Internet Explorer is showing 'old' information. Did your ever had to deal with a refresh problem when embedding FusionCharts in HTML pages? What do you suggest me to do? I provided an example that i use in the attachment.. Thanks for your help. Chart.zip Share this post Link to post Share on other sites
Guest Rajroop Report post Posted November 16, 2009 Hello, This seems to be a caching issue. Could you please take a look at the following Forum link below? Ref.- http://www.fusioncharts.com/forum/Topic19911-35-1.aspx? Hope this helps. Share this post Link to post Share on other sites
Adis Corovic Report post Posted January 3, 2010 Hi Rajroop, Still no succes with the addition ?nocache="+ new Date().valueOf(), it keeps caching all the time... Example: when I change the XML and hit refresh 10 times, 6 times i get the 'old' value. The HTML files and XML data is located on a server and I approach it trough HTTP:Servernamesiteame.html Any other suggestions? Can you help me realtime, using TeamViewer or another program? regards, adis Share this post Link to post Share on other sites
shamasis Report post Posted January 3, 2010 ... Just a queer question: Why are you using the HTML-Embed method? We highly recommend using the JavaScript integration method: http://www.fusioncharts.com/docs/?JSEmbed.html I understand that this is not a direct solution to your problem, but as because your issue is pretty unique, why don't you just implement the JS integration method and see the result? Furthermore, is there any caching issue in FireFox? And also, is it happening when you are running the HTML file locally? What happens when you run it from a server? Share this post Link to post Share on other sites
Adis Corovic Report post Posted January 7, 2010 Hi Shamasis, I did not try the JScript to embed the chart. Locally and on a server I face the same caching issues. So I will try it with JScript... thanks for the hopefully best answer ;-)... Why I did not try JScript? Regards, Adis Share this post Link to post Share on other sites
Guest Madhumita Report post Posted January 7, 2010 Hey, Do let us know how you go on about it. It was a pleasure helping you. Do revert incase of further queries on this. Share this post Link to post Share on other sites
Adis Corovic Report post Posted May 28, 2010 HI, Now we have changed de dashboards and now i use this: <div id="dashboard"> <script type="text/javascript"> var myChart1 = new FusionCharts("../FusionCharts/CHARTNAME", "myChart1Id", "1500", "800", "0", "0"); myChart1.setDataURL("../Data/XMLFILE"); myChart1.render("dashboard"); </script> </div> and this works fine. Thanks for your help and sorry for my late reaction.:cool: Share this post Link to post Share on other sites
Sanjukta Report post Posted May 28, 2010 Hey Adis, You are most welcome. Glad that your issue is resolved. Also, thanks for sharing the idea. Happy FusionCharting! Share this post Link to post Share on other sites