<%@LANGUAGE="VBSCRIPT"%> <% option explicit %> <% 'We've included ../Includes/FusionCharts_Gen.asp, which contains FusionCharts ASP Class 'to help us easily embed the charts. %> <%@ Language=VBScript %> FusionCharts XT - ASP Class Array Example using Single Series Column 3D Chart <% 'We've included ../Includes/FusionCharts.asp, which contains functions 'to help us easily embed the charts. %>

Simple Column 3D Chart

 

<% 'This page demonstrates the ease of generating charts using FusionCharts ASPClass. 'For this chart, we've cread a chart object used FusionCharts ASP Class 'supply chart data and configurations to it and render chart using the instance 'Here, we've kept this example very simple. dim FC ' Create FusionCharts ASP class object set FC = new FusionCharts ' Set chart type to Column 3D call FC.setChartType("Column3D") ' Set chart size call FC.setSize("600","300") ' Set Relative Path of swf file. Call FC.setSWFPath("../../FusionCharts/") ' Set JavaScript renderer Call FC.setRenderer("javascript") dim strParam ' Define chart attributes strParam="caption=Monthly Unit Sales;xAxisName=Month;yAxisName=Units" ' Set Chart attributes Call FC.setChartParams(strParam) ' Add chart data values and category names Call FC.addChartData("462","label=Jan","") Call FC.addChartData("857","label=Feb","") Call FC.addChartData("671","label=Mar","") Call FC.addChartData("494","label=Apr","") Call FC.addChartData("761","label=May","") Call FC.addChartData("960","label=Jun","") Call FC.addChartData("629","label=Jul","") Call FC.addChartData("622","label=Aug","") Call FC.addChartData("376","label=Sep","") Call FC.addChartData("494","label=Oct","") Call FC.addChartData("761","label=Nov","") Call FC.addChartData("960","label=Dec","") ' Render Chart with JS Embedded Method Call FC.renderChart(false) %>