Siddhesh Sawant Report post Posted April 20, 2011 Hi All , I am pretty new to fusion charts . I have used @D fusion chart in my page as $('#myChartContainer').insertFusionCharts({ swfPath: "../Charts/", type: "Pie2D", data: "<graph caption='" + iGroup + " Allocation' decimalPrecision='2' " + " showNames='1' showPercentageInLabel='1' useRoundEdges='1' showZeroPies='1'> " + strXmlToDraw + "</graph>", dataFormat: "XMLData", width: "800", height: "400" }); Where StrXmlToDraw is a custom xml I am creating with a value and description field . I have a print link on the page which calls a javascript PrintPreview() , In this all the page content is written as var pp = window.open(); var innerhtml = document.getElementById('PrintPreview').innerHTML; var newString = innerhtml.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi, ''); newString = newString.replace(/..\/Charts/g, "/DNeWM/Charts"); pp.document.writeln(newString); It renders all the content on the page in print window except fusion chart . In the fusion chart area it gives an error as "Error Loading Data For Fusion Chart". Has anyone faced this issue before ? It is happenin only in IE. Thanks Siddhesh Share this post Link to post Share on other sites
Guest Angie Report post Posted April 20, 2011 Hi, Welcome to FusionCharts Forum! First of all, we would like to thank you for showing interest in FusionCharts. Could you please send us a screenshot of the issue you are facing? Please confirm the FusionCharts and IE version you are using. Awaiting for your early response. Share this post Link to post Share on other sites
Siddhesh Sawant Report post Posted April 20, 2011 Hi Angie , I am using IE 7 and fusion chart version as Version 1.0.0 beta2 (build 108) Share this post Link to post Share on other sites
Siddhesh Sawant Report post Posted April 21, 2011 Hi Guys , Any inputs for this problem , I am facing this issue when javascript function for print preview is invoked. Page gets loded properely in normal view with the fusion chart. Thanks Siddhesh Share this post Link to post Share on other sites
Guest Angie Report post Posted April 21, 2011 Hi, Could you please upgrade to latest version of FusionCharts i.e v 3.2 ? To download the latest one, please visit: http://www.fusioncharts.com/download/ In FusionCharts v 3.2 , FusionCharts JavaScript class offers a separate Print Manger class to manage the printing of the chart. For more details, please refer to the link: http://www.fusioncha...intManager.html Hope this helps. Share this post Link to post Share on other sites
devi Report post Posted August 8, 2011 (edited) Hi All , I am pretty new to fusion charts . I have used @D fusion chart in my page as $('#myChartContainer').insertFusionCharts({ swfPath: "../Charts/", type: "Pie2D", data: "<graph caption='" + iGroup + " Allocation' decimalPrecision='2' " + " showNames='1' showPercentageInLabel='1' useRoundEdges='1' showZeroPies='1'> " + strXmlToDraw + "</graph>", dataFormat: "XMLData", width: "800", height: "400" }); Where StrXmlToDraw is a custom xml I am creating with a value and description field . I have a print link on the page which calls a javascript PrintPreview() , In this all the page content is written as var pp = window.open(); var innerhtml = document.getElementById('PrintPreview').innerHTML; var newString = innerhtml.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi, ''); newString = newString.replace(/..\/Charts/g, "/DNeWM/Charts"); pp.document.writeln(newString); It renders all the content on the page in print window except fusion chart . In the fusion chart area it gives an error as "Error Loading Data For Fusion Chart". Has anyone faced this issue before ? It is happenin only in IE. Thanks Siddhesh Hi siddhesh, Did you find the solution for this problem. I am also getting same error while using doument.getElementById("mychart").innerHTML . In IE 8 only it will displays like "Error in loading Data". Any help , thanks in advance. Edited August 8, 2011 by devi Share this post Link to post Share on other sites