%@ Language=VBScript %>
FusionCharts Free - Simple Column 3D Chart using dataXML method
<%
'We've included ../Includes/FusionCharts.asp, which contains functions
'to help us easily embed the charts.
%>
Basic example using dataXML method (with XML data hard-coded in ASP page itself)
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 (or script) 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
'
Dim strXML
strXML = ""
strXML = strXML & ""
strXML = strXML & ""
strXML = strXML & ""
strXML = strXML & ""
strXML = strXML & ""
strXML = strXML & ""
strXML = strXML & ""
strXML = strXML & ""
strXML = strXML & ""
strXML = strXML & ""
strXML = strXML & ""
strXML = strXML & ""
strXML = strXML & ""
strXML = strXML & ""
'Create the chart - Column 3D Chart with data from strXML variable using dataXML method
Call renderChartHTML("../../FusionCharts/FCF_Column3D.swf", "", strXML, "myNext", 600, 300)
%>
Unable to see the chart above?