JavaScript + setDataURL Method |
In this method, you provide the URL of XML data to FusionCharts 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: (Click on the diagram below to see the animated feature tour on this process) |
|
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> |