Sign in to follow this  
ADP-Paul

Problem with readXMLFromChart() and getDataFromChart()

Recommended Posts

I am trying to use the readXMLFromChart() and getDataFromChart() examples from one

of your demo pages http://www.fusioncharts.com/Demos/DragColumn/Default.html

When using the latest version (FusionCharts.js - downloaded today), I'm recieving the following

error message: "Object doesn't support this property or method."

 

Within getDataFromChart(), its throwing an error at

var arrData = ourChart.getDataWithId();

Within readXMLFromChart(), its throwing an error at

var xmlRtn = ourChart.getXMLData();

 

Here is the main javascript code when i call the graphs:

 <script language="JavaScript">
  var chart = new FusionCharts("charts/MSColumn2D.swf?LoadDataErrorText=No Chart Data Information Available", "dealerChart", "600", "400", "0", "1", "FFFFFF", "");
  chart.setDataURL("Graph1.xml");
  chart.render("displayChart");
 </script>

The page is reading XML files to present 19 graphs, which work perfectly, but would like to use this feature within the application of displaying the graph contents to the end-users. I am using the same div tags structure as you have within your online demostration page.

 

Any suggestions, or additional information needed to debug this issue is appreciated.

 

Thanks - Paul

Edited by Guest

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