Sign in to follow this  
Billybob

Constant attempt to find of Data.xml

Recommended Posts

Hi, I am having some difficulty getting fusion chart to load any other data except for data.xml.

I have tried:

A) HTMLCode = InfoSoftGlobal.FusionCharts.RenderChart("Column2D.swf", "", xmlData.ToString(),

this.ID, "200", "200", true, true);

where xmlData was the example provided in the documentation for dataXML method.

B) HTMLCode = InfoSoftGlobal.FusionCharts.RenderChartHTML("Column2D.swf",System.Web.HttpUtility.UrlEncode("asset.xml"), "",

this.ID, "200", "200", true);

Both of them reports "Error in loading data." unless I place a data.xml file inside the  folder which the project is running from. When that data.xml file exists, fusionchart will always attempt to load that data as oppose to the parameters provided. I have checked to ensure that the file 'asset.xml' does exist in the folder.

The most buffling problem is that when I copy the fusionchart html code into blank html file, the fusion chart loads properly. The other parts of my code runs smoothly except for the fusion chart section (which I can not post for copyright reasons). Does anyone have any idea what kind of issues can cause this problem?

Thank you in advance.

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