Siddhesh Sawant
Members-
Content count
3 -
Joined
-
Last visited
About Siddhesh Sawant
-
Rank
Forum Newbie
-
Error Loading Data For Fusion Chart
Siddhesh Sawant replied to Siddhesh Sawant's topic in Javascript Problems
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 -
Error Loading Data For Fusion Chart
Siddhesh Sawant replied to Siddhesh Sawant's topic in Javascript Problems
Hi Angie , I am using IE 7 and fusion chart version as Version 1.0.0 beta2 (build 108) -
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