Vijaya_FC Report post Posted May 2, 2011 Hi How to get the swf url used for rendering the charts lets say function should return "FusionCharts/Line.swf" Thanks, Vijaya Share this post Link to post Share on other sites
Sanjukta Report post Posted May 2, 2011 Hi Vijaya, Please note that the SWF Url is the relative path of the respective SWF file. This path is relative to the HTML file where you are mentioning the path. The Url "FusionCharts/Line.swf" means that the Line.swf file is present in the "FusionCharts" folder outside the HTML file. Hope this helps. Share this post Link to post Share on other sites
Vijaya_FC Report post Posted May 3, 2011 Hi, Lets say you are having separate links for each chart type, Pie | Line | Column 2D - On clicking these links the chart will be updated with respective chart types and also you will have another link saying 'Open in new window" for this, In parent window, <script type="text/javascripts"> function popUp(URL,chart_id) { chrt = FusionCharts(chart_id); window.open(URL,"Chart",'toolbar=0,scrollbars=1,width=1400,height=1100,location=0,statusbar=0,menubar=0,resizable=0,left = 248,top = 209') } </script> And in child window <script type="text/javascript"> var chrt = window.opener.chrt; document.getElementById("chart1").innerHTML = chrt.getSWFHTML(); </script> It displaying the chart in new window(with default one), But its not displaying the updated chart (on changing the chart type) Thanks, Vijaya Share this post Link to post Share on other sites
Ayan Pal Report post Posted May 4, 2011 Hi Vijaya, Thank you for your post. you may use .src property of the chart object to get the URL. Example: chrtURL = FusionCharts(chart_id).src; Share this post Link to post Share on other sites