"FusionCharts' not declared?
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



"FusionCharts' not declared? Expand / Collapse
Author
Message
Posted 6/16/2007 11:59:51 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/26/2007 11:46:06 PM
Posts: 2, Visits: 6
Sorry, I posted first in the wrong section.
********************************

Hello all,

I am brand new to FusionCharts and I am trying to test it (understand it) before a purchase.

I am using the V3 free version with MS visual web developer 2005 express edition.

I created a website just to test it on my local machine. To do so, I imported as requested in the FC doc all the files and folder located in:

"FusionCharts_Evaluation\Code\VB_NET\BasicExample"

in the ASP.NET website directory + I added the "InfoSoftGlobal.dll" as a reference in the "Bin" folder of the website + I created a folder "FusionCharts" with all the SWF files in it + I copied in the "FusionCharts" ASP.NET website folder the "FusionCharts.js" file.

When I launch the "BasicChart.aspx" the page appears but without the graph. However the flash component is launched because I can see its border. But there is nothing in it. It is empty.

The only error I have in the error list of VWDEE is "the name 'FusionCharts' is not declared" (despite the fact that the "InfoSoftGlobal.dll" is located in the "Bin" folder).

I have also a warning (not an error) saying the the codebehind is supported anymore. But I don't think this is where the pb come from.

If someone have an idea you are more than welcome.

Thank you

Gilles

Post #1331
Posted 6/17/2007 4:02:43 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 7:11:27 AM
Posts: 2,183, Visits: 513
Can you make sure you've included the FusionCharts.js file in your page?

Thanks,
Pallav Nadhani
FusionCharts Team
Post #1344
Posted 6/17/2007 11:15:13 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/26/2007 11:46:06 PM
Posts: 2, Visits: 6
Thanks for your answer,

The 'FusionCharts.js' file is in the 'FusionCharts' folder (with the 'swf' files).

Actually I nearly not modified the example code (just few paths). Here is the 'BasicCharts.aspx' file:

<%@ Page language="vb" Codebehind="/BasicChart.aspx.vb" AutoEventWireup="false" Inherits="InfoSoftGlobal.InfoSoftGlobal.GeneralPages.ASP.NET.BasicExample.BasicChart" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

<HTML>

<HEAD>

<TITLE>FusionCharts - Simple Column 3D Chart </TITLE>

<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">

<meta name="CODE_LANGUAGE" Content="C#">

<meta name="vs_defaultClientScript" content="JavaScript">

<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">

<SCRIPT LANGUAGE="Javascript" SRC="FusionCharts/FusionCharts.js"></SCRIPT>

<LINK href="../../../InfoSoftGlobal.css" type="text/css" rel="stylesheet">

</HEAD>

<body>

<form id='form1' name='form1' method='post' runat="server">

<CENTER>

<h2>FusionCharts Examples</h2>

<h4>Basic example using pre-built Data.xml</h4>

<%=GetMonthlySalesChartHtml()%>

<BR>

<BR>

<a href='NoChart.html' target="_blank">Unable to see the chart above?</a>

</CENTER>

</form>

</body>

</HTML>

 

My question was related to the other attached file 'BasicCharts.aspx.vb' where, ligne 13 I have an error with "'FusionCharts' not declared":

Public Function GetMonthlySalesChartHtml() As String

Return FusionCharts.RenderChartHTML("FusionCharts/Column3D.swf", "Data/Data.xml", "", "myFirst", "600", "300", False)

End Function

Thanks

Gilles

Post #1345
Posted 6/19/2007 12:22:49 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 7:11:27 AM
Posts: 2,183, Visits: 513
This FusionCharts is declared in FusionCharts.dll assembly.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #1367
Posted 7/10/2007 12:20:26 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/11/2007 12:19:09 PM
Posts: 1, Visits: 6
I'm trying to run FusionCharts Evaluation VB.NET BasicExample code BasicChart.aspx and I'm getting the following error:

Parser Error Message: Could not load type 'InfoSoftGlobal.InfoSoftGlobal.GeneralPages.ASP.NET.BasicExample.BasicChart'.

I also tried adding a reference to InfoSoftGlobal.dll in VS2005 and received

Name 'GetMonthlySalesChartHtml' is not declared
Name 'FusionCharts' is not declared

Please help, thanks

Bao
Post #1584
Posted 8/10/2007 7:34:59 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/16/2007 3:34:22 AM
Posts: 2, Visits: 10
I think because the code is for asp.net V1

because codebehind= is not supported anymore and is actualy codepage

And VWD2005 is using asp.net v2.0
i also have difficulties to get the graphs showing and get the same errors as you do
and i am also new to asp.net

If anyone can post a good solution to get this going i would be glad to evaluate the use of it and then i can make a deccision to buy or not

oh by the way in the free edition there is totaly no sample for asp.net only ASP!!!!

my download was from 09/08/2007 CET

Regards Kazi

Post #1941
Posted 8/14/2007 12:17:47 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 7:11:27 AM
Posts: 2,183, Visits: 513
We'll convert the v3 ASP.NET examples soon to ASP.NET 2.0.

Also, next month, we're releasing .NET samples for Free version too.

Thanks,
Pallav Nadhani
FusionCharts Team

Post #1966
Posted 10/31/2007 1:41:46 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Yesterday @ 11:38:11 PM
Posts: 869, Visits: 1,381
Hi,
you can visit http://www.fusioncharts.com/forum/Topic2294-44-1.aspx to download and use ASp.NET 2 samples for FusionCharts Free. YOu can use the same code for FusionCharts v3 charts too...just need to change the names of the SWF. later IF necessary you may update the XML and FusionChart.js file used for v3.


Regards,

Sudipto Choudhury
FusionCharts Team
Post #2907