Sign in to follow this  
nomori

Upgrage And Fusionchart_Gen.asp Problem2

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 "Invalid Argument".)

Do you have any problems.

 

My code is as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
   <title></title>
   <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>

</head>
<body>
<!-- #include file="./FusionCharts/FusionCharts_Gen.asp" -->
<%
myItem=Array(Array(10000,20000,18000,50000,70000),Array(12000,20000,21000,60000,75000))
myItemLabel=Array("a","b","c","d","e")
dim FC
set FC = new FusionCharts
call FC.setChartType("StackedBar2D")
call FC.setSize("400","200")
call FC.setSWFPath("./FusionCharts/")
Call FC.setInitParam("debugmode",True)
dim strParam        
strParam="showLegend=1;stack100Percent=1;showPercentValues=1;showPercentInToolTip=1;"
' 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), "" , "")
next
call FC.renderChart(false) 
%>
</body>
</html

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

Could you please confirm if you are rendering the charts in IE 8?

In case yes, please try to enable the Compatibility Mode in IE 8 and see if this helps.

Hope this helps.

Share this post


Link to post
Share on other sites

Yes, I am rendering the charts in IE 8.

As you said, was to enable compatibility mode error did not occur.

On the compatibility mode is disabled, how to avoid errors available?

 

Thanks.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

There is an issue with the current version of FusionCharts XT in IE 8 Standard Mode.

We are already looking into this and shall update you at the earliest.

Happy FusionCharting! biggrin.gif

Share this post


Link to post
Share on other sites

Hi,

 

Thanks for your response.

There is an issue with the current version of FusionCharts XT in IE 8 Standard Mode.

We are already looking into this and shall update you at the earliest.

Happy FusionCharting! biggrin.gif

 

Can you elaborate as to what this error is/was? What version of FusionCharts XT is it fixed in?

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Could you please explain, what issues you are facing exactly?

 

Please send us the screen-shot, sample code and chart XML.

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