|
|
|
Forum 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
|
|
|
|
|
FusionCharts 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
|
|
|
|
|
Forum 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 StringReturn FusionCharts.RenderChartHTML("FusionCharts/Column3D.swf", "Data/Data.xml", "", "myFirst", "600", "300", False)End FunctionThanks Gilles
|
|
|
|
|
FusionCharts 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
|
|
|
|
|
Forum 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
|
|
|
|
|
Forum 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
|
|
|
|
|
FusionCharts 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
|
|
|
|
|
Supreme 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
|
|
| |