You are viewing documentation for an older version. For current documentation - click here.

If you were unable to see the chart, please check for the following steps.

 

If you only get "Chart.", "FusionCharts" or "FusionWidgets XT will load here!" or similar text shown, check the following:

  • You've copied FusionCharts.js, jquery.min.js, FusionCharts.HC.js and FusionCharts.HC.Widgets.js in the right folder.
  • You've included and provided the correct path of FusionCharts.js in your HTML code.
  • There are any JavaScript syntax or runtime errors that might have halted the execution of FusionCharts APIs.
  • Unique names are used for the chart's JavaScript variable, chart's ID and the HMTL DIV's ID?

 

If you get a JavaScript error message saying "'FusionCharts' is undefined" or something similar (depending on browser)

  • Check if you've copied FusionCharts.js (by default, present in Charts folder) at the right location.
  • Check if the path to this JavaScript file is properly provided in your page, under the <head> element.

 

No chart shown

If you see an endless loading progress bar in your browser, or if the right click menu (right click at the place where the chart is supposed to be) shows "Movie not loaded", check the following:


  • Have you pasted the chart SWF and JavaScript files in the required folder?
  • Have you provided the name and path of the chart properly in your code?

 

"Error in Loading Data." message

If you get a "Error in Loading Data." message in your chart, it means that FusionWidgets could not find XML data at the specified URL. In that case, check the following:

  • Whether you've provided proper path to the XML/JSON data in your code.
  • Whether your XML/JSON file is named properly and not having a .txt extension.
  • Check for the upper and lower case in the names of your XML/JSON and chart file.
  • Whether your chart files and XML/JSON data are on the same domain or same sub-domain. Cross domain data loading is not allowed.

 

"Invalid Data." message

If you get an "Invalid XML Data" message, it means that the XML/JSON data is malformed. Check it again for common errors like:

  • Presence of duplicate attributes in the XML/JSON.
  • Difference in case of tags. <chart> should end with </chart> and not </Chart> or </CHART>
  • Missing opening/closing quotation marks for any attributes. e.g., <chart numberSuffix=%' should be <chart numberSuffix='%'.
  • Missing closing tag for any element.
  • If you've double quotes as part of your data, XML Encode them to " Example: <set label='John says &quot;Hi" to all.' />
  • If you've single quotes as part of your data, XML Encode them to' Example: <set label='John' house' />

 


If your error is not resolved using any of the above steps,please refer to FusionWidgets Documentation for advanced debugging techniques.