JavaScript + setDataURL Method |
In this method, you provide the URL of XML data to FusionWidgets using JavaScript functions (present on the same page in which chart is present). The chart then sends a request for XML data to the specified URL, reads it, parses it and then renders the charts accordingly. The following diagram would help you understand better: |
|
As you can see above, the following steps involved in this:
|
Sample Usage of JavaScript + setDataURL method |
<SCRIPT LANGUAGE="Javascript" SRC="../../FusionCharts/FusionCharts.js"> <SCRIPT LANGUAGE="JavaScript"> <BODY> |