XML/SWF Charts is a simple, yet powerful tool to create attractive charts and graphs from XML data.
Create an XML source to describe a chart, then pass it to this tool’s flash file to generate the chart. The XML source can be prepared manually, or generated dynamically using any scripting language (PHP, ASP, CFML, Perl, etc.)
XML/SWF Charts makes the best of both the XML and SWF worlds. XML provides flexible data generation, and Flash provides the best graphic quality.
Features:
Usage:
1: All these files are necessary. However, you will only edit and deal with sample.html and sample.xml.
charts.swf is the main flash tool. charts_library is a folder of files used by the tool to render different chart types. AC_RunActiveContent.js contains javascript code to detect the flash version installed by end-users and to insert the flash tool into web pages. sample.html is the web page that displays a chart. sample.xml is the XML source file that describes a chart.
2. Preview the sample.html web page in a browser. Because the XML code in the sample.xml source file does not describe a chart, this example generates a basic, default chart like this:
3. To edit the chart, open the sample.xml source file in any text editor, add the necessary XML elements, and then reload the web page:
<chart> <!-- change the chart to a bar chart --> <chart_type>bar</chart_type> </chart>
If the browser keeps showing the same chart after editing sample.xml, empty the browser’s cache or see Caching for a permanent solution.
Demo: http://www.maani.us/xml_charts/index.php?menu=Gallery
Download:http://www.maani.us/xml_charts/charts.sit
Source: http://www.maani.us/xml_charts/index.php?menu=Tutorial

Related Listings:
No comments yet.
RSS feed for comments on this post. TrackBack URL