jwest84 Report post Posted August 12, 2013 Hi, When trying to create a line chart using MSCombi2D.swf, I get "Error loading data". So I put it into debug mode and found it's erroring out in the middle of FC code. The data is retrieved from a data url which is passed in using the setJSONUrl method. You can see the data in the attached data.txt file. The error details when in debug mode can be found in errorScreenShot.png. Thanks. data.txt Share this post Link to post Share on other sites
Guest Sumedh Report post Posted August 13, 2013 Hello, This error may occur under following circumstances, can you please check with these points? - Whether you've provided proper path to the XML/JSON data in your code. - Paste the Data URL in your browser to check if it's returning a valid XML/JSON. Make sure, there are no scripting or time-out errors and a valid XML/JSON is returned. Also, make sure that the XML/JSON isn't intermingled with HTML content. The data provider page should return a clean XML/JSON only - not even HTML <head> or <body> tags. - Whether your XML/JSON file is named properly and not having a .txt extension (as many basic text editors append .txt after the file name). - If you're using an operating system that uses case-sensitive naming for file system (like mac, linux etc.), check for the names of your XML/JSON and chart file. - Whether your chart files (SWF and JavaScript) and XML/JSON data are on the same domain or same sub-domain. Cross domain data loading is not allowed. Since, we have tested your chart JSON and it's working fine at our end. Please find attached screen-shot and sample for your reference. Hope this helps! MSCombi2D_Test.zip Share this post Link to post Share on other sites
jwest84 Report post Posted August 13, 2013 Hi, Thank you for the tips on possible issues. Your solution in the attached helped me realize there was a work around. Instead of setting the data URL, I use a third party library to grab the JSON from the server, then use chart.setJSONData with the returned values. Thank you for your help. Share this post Link to post Share on other sites