<%@ Language=VBScript %> FusionCharts XT - ASP Class Array Example - Simple Column 3D Chart (with XML data hard-coded in ASP page itself) <% 'We've included ../Includes/FusionCharts.asp, which contains functions 'to help us easily embed the charts. %>

Simple Column 3D Chart (with XML data hard-coded in ASP page itself)

 

<% 'This page demonstrates the ease of generating charts using FusionCharts ASP Class. '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 & "" dim FC ' Create First FusionCharts ASP class object set FC = new FusionCharts ' Set chart type to Column3D call FC.setChartType("Column3D") ' Set chart size call FC.setSize("600","300") ' Set Relative Path of swf file. default path is charts/ call FC.setSWFPath("../../FusionCharts/") ' Create the chart - Column 3D Chart with data from strXML ' Create the Chart call FC.renderChartFromExtXML(strXML,false) %>