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