FusionCharts Forum: how to solve this error - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

how to solve this error

#1 User is offline   kresnik 

  • Forum Newbie
  • Group: Members
  • Posts: 2
  • Joined: 22-June 09

Posted 25 July 2009 - 05:21 AM

Public member 'setChartType' on type 'FusionCharts' not found.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.



Exception Details: System.MissingMemberException: Public member 'setChartType' on type 'FusionCharts' not found.



Source Error:





Line 16:

Line 17: ' Set chart type to Column 3D + Line Dual Y-Axis Combination Chart

Line 18: Call FC.setChartType("MSColumn3DLineDY")

Line 19:

Line 20: ' Set chart size
0

Other Replies To This Topic

#2 User is offline   TC 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 21
  • Joined: 18-February 10

Posted 18 February 2010 - 07:18 PM

I am getting this same error.

Is this forum not monitored?
0

Other Replies To This Topic

#3 User is offline   Basundhara Ghosal 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2459
  • Joined: 15-September 09

Posted 18 February 2010 - 10:28 PM

Hi,

Could you please re-check that the name and the root paths of the swf file that you are using is mentioned correctly?

Also, could you please reconfirm that you have included the latest version of the Fusioncharts.dll file?

Awaiting your reply. :)

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

#4 User is offline   TC 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 21
  • Joined: 18-February 10

Posted 19 February 2010 - 09:24 AM

Thanks for the reply.

Yes, the path to my swf is fine.

If I remove the FC.SetChartType line of code I then get a similar error with Call FC.setSize("650", "450")

I think the problem is that I do not have FusionCharts_Gen.asp in my project, as that exposes the FusionCharts class...am I right?



So, just now I put FusionCharts_Gen.asp into my App_Code folder, but I'm still getting:

Public member 'setChartType' on type 'FusionCharts' not found



So, how do I get the FusionCharts class visible to my program? I thot simply putting FusionCharts_Gen.asp in my App_Code folder would expose it.



fyi, I do have imports InfoSoftGlobal at the top of my Code Behind, for this page.
0

Other Replies To This Topic

#5 User is offline   TC 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 21
  • Joined: 18-February 10

Posted 19 February 2010 - 05:30 PM

Do we need to have both the FusionCharts_Gen.asp file in our App_Code folder, as well as the Fusion.dll file in the bin folder, to expose the functions like setChartParams, setSWFPath, and addDataFromDatabase ?



What do I need to do, to use addDataFromDatabase in my VB.Net codebehind?
0

Other Replies To This Topic

#6 User is offline   Basundhara Ghosal 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2459
  • Joined: 15-September 09

Posted 22 February 2010 - 04:00 AM

Hi TC,



We have replied in the similar post of yours in http://www.fusioncha...24220-32-1.aspx



It seems that you are using ASP.NET and the code files that you are using (FusionCharts.asp, FusionCharts_Gen.asp) are for Classic ASP. Hence, they are not likely to run in ASP.NET.





Hope this helps. :)
Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic