% /*You need to include the following JS file, if you intend to embed the chart using JavaScript. Embedding using JavaScripts avoids the "Click to Activate..." issue in Internet Explorer When you make your own charts, make sure that the path to this JS file is correct. Else, you would get JavaScript errors. */ %>
If you view the source of this page, you'll see that the XML data is present in this same page (inside HTML code). We're not calling any external XML files to serve XML data. dataXML method is ideal when you've to plot small amounts of data.
<% /*This page demonstrates the ease of generating charts using FusionCharts. For this chart, we've used a string variable to contain our entire XML data. Ideally, you would generate XML data documents at run-time, after interfacing with forms or databases etc.Such examples are also present. Here, we've kept this example very simple. */ //Create an XML data document in a string variable String strXML = ""; strXML += "