Sign in to follow this  

Upgrage And Fusionchart_Gen.asp Problem

Recommended Posts

I upgraded to version XT, the chart is not drawn to errors such as file attachments(screen shot from IE debugger).

(Error message is "object dosent support this property or method" or is "undefined is null or not an object".)

Do you have any problems.


My code is as follows:

   <meta http-equiv="content-type" content="text/html;charset=utf-8" />	
   <link href="./css/style2.css" rel="stylesheet" type="text/css" />
   <script src="./FusionCharts/FusionCharts.js" type="text/javascript" language="Javascript"></script>

<!-- #include file="./FusionCharts/FusionCharts_Gen.asp" -->
dim FC
set FC = new FusionCharts
call FC.setChartType("StackedBar2D")
call FC.setSize("400","200")
call FC.setSWFPath("./FusionCharts/")
dim strParam        
' Set chart attributes 
call FC.setChartParams(strParam)
' Add category names
call FC.addCategory("gr1", "", "")
call FC.addCategory("gr2", "", "")

for i=0 to 4
' Create a new dataset 
call FC.addDataset(myItemLabel(i), "")       
' Add chart values for the above dataset
call FC.addChartData(myItem(0)(i), "", "")
call FC.addChartData(myItem(1)(i), "" , "")
call FC.renderChart(false) 

Share this post

Link to post
Share on other sites
Guest Angshu



Thanks for your post.

Please follow the steps below:


1. Check if you've copied FusionCharts.js (by default, present in FusionCharts folder) at the right location.


2. Check if the path to this JavaScript file is properly provided in your page, under the <head> element.

Hope this helps.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this