Sign in to follow this  
Siddhesh Sawant

Error Loading Data For Fusion Chart

Recommended Posts

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

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

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
Guest Angie

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.smile.gif

 

Share this post


Link to post
Share on other sites

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 by devi

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this