Dorown Report post Posted November 25, 2009 Hi All, I`ve download your trail version and I want to test it and see if its what im looking for. My question: is it possible to update the Flash real time ? I`ve change the XML variables and the board only update when I press F5/refresh. Is it possible to made the flash read the new variables from the xml file and update every X minutes ? Or I have to press F5 every time ? Thanks & Best Regards, Doron Caspi Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted November 25, 2009 Hi Doron, Welcome to FusionCharts forum. Yes, all, and more, of your requirements can be satisfied using the data-streaming charts of the FusionWidgets Suite? Also, please take a look at the links below:- http://www.fusioncharts.com/widgets/gallery.asp#realtime2 http://www.fusioncharts.com/widgets/docs?/RealTimeOverview.html Hope this helps. Share this post Link to post Share on other sites
Dorown Report post Posted November 26, 2009 Hi Basundhara, I didn`t fully understand how you can do that. I tried to read the manual but I didn`t understand. Can you please show me an example for this issue ? Should I add a Line in the XML ? How can I tell the flash to read the new data ? I mange to update the xml by VBscript but i can only see the update after I refesh the page. Can you explain how we can do that ? Thanks, Doron Caspi Infoteck Basundhara Ghosal Share this post Link to post Share on other sites
Vikasdotnetman Report post Posted November 26, 2009 hi doron have u tried AJAX control for that. try to put your graph control in update panel, may be this will help.. regards Vikas Share this post Link to post Share on other sites
Dorown Report post Posted November 26, 2009 Sorry, but I never worked with AJAX, you have any example ? I saw the refreshInterval='3' and i tried to add it to the XML file but it didn`t help. If you can show me a way to tell the flash to read again the Value from the XML file it will be great ! I made a script that change the Value in the XML and do refresh to the page, the problem is that when I refresh the Flash load again. and its not Real time updating. Can some one please update code or any example for my issue ? Thanks ALOT for you help! Doron Caspi Share this post Link to post Share on other sites
Vikasdotnetman Report post Posted November 26, 2009 hello doron u can just try with the below code in your .aspx page... below code can help you to understand AJAX update panel control but dont forget to write update control inside scriptmanager.... <form id="frmAJAXLiteralControl" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server" /> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> -----write here for your graph control (which you are using)-------- </ContentTemplate> </asp:UpdatePanel> </form> try this may be it will be useful for your problem:: regards Vikas Share this post Link to post Share on other sites
Dorown Report post Posted November 26, 2009 Hi All, I dont use aspx. or any. We want to make it local board on our office to cound the numbers of Tickets we have. We have the HTML that read from the XML. I just want to config some file (xml or the html its self) to tell the Flash to update from the XML every X min or something. is it possible ? Thanks Doron Caspi Share this post Link to post Share on other sites
Dorown Report post Posted November 29, 2009 Vikasdotnetman (11/26/2009)hello doronu can just try with the below code in your .aspx page... below code can help you to understand AJAX update panel control but dont forget to write update control inside scriptmanager.... <form id="frmAJAXLiteralControl" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server" /> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> -----write here for your graph control (which you are using)-------- </ContentTemplate> </asp:UpdatePanel> </form> try this may be it will be useful for your problem:: regards Vikas Thanks for you mail, I dont work with aspx. I just want to add the ajax to html file is it possible to do so ? Thanks, Doron Caspi Share this post Link to post Share on other sites
Dorown Report post Posted December 2, 2009 Any one ? Share this post Link to post Share on other sites
Guest Madhumita Report post Posted December 5, 2009 Hello Dorown, You can set a timer to call a URL containing the data for the chart and update it in real-time. This can be done using javascript. Share this post Link to post Share on other sites
Dorown Report post Posted December 22, 2009 (edited) Hi All, Im not that in to JavaScript. Can some one share an example ? Thanks. Edited December 22, 2009 by Guest Share this post Link to post Share on other sites
Guest Madhumita Report post Posted December 24, 2009 (edited) Hello, Could you please refer to the following forum link where a similar example has been described? http://www.fusioncharts.com/forum/Topic9443-11-1.aspx <div id="map1div"> FusionMaps. </div> <script type="text/javascript"> //FusionMaps.js must be include //Register With JS must of set ON ("1") [ RED BELOW] to access the map when updating var map1 = new FusionMaps("../Maps/FCMap_Colorado.swf", "Map1Id", "300", "187", "0", "1" ); map1.setDataURL("colo2008.xml" ); map1.setTransparent(true); map1.render("map1div" ); //Attempt to get the refresh working: window.setInterval(function() { mapr('Map1Id'); }, 5000); function mapr(mapId) { var umap=getMapFromId(mapId); umap.setDataURL("colo2008.xml" ); } </script> Hope this helps. Edited December 24, 2009 by Guest Share this post Link to post Share on other sites