scFastLine not defined

TeeChart for ActiveX, COM and ASP
Post Reply
wbush
Newbie
Newbie
Posts: 3
Joined: Fri Jul 22, 2016 12:00 am

scFastLine not defined

Post by wbush » Tue Aug 09, 2016 2:22 pm

Hi,

I'm trying to use TeeChart ActiveX2016 in my application. But when i compile the VBA code, it gives me an error: Variable not defined: scFastline

Code:
For y = 2 To nNumColumns
TChart.Object.AddSeries (scFastLine)
TChart.Object.Series(y - 2).XValues.DateTime = False
TChart.Object.Series(y - 2).Title = Sheets(strWFSnapshotSheetName).Cells(lnTopRow, y)

Can anyone help me with this?

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: scFastLine not defined

Post by Sandra » Tue Aug 09, 2016 4:10 pm

Hello wbrush,

The code below shows you how can add a new series using Visual Studio:

cSharp code

Code: Select all

   axTChart1.AddSeries(TeeChart.ESeriesClass.scFastLine);
Visual Basic code

Code: Select all

  TChart1.AddSeries(TeeChart.ESeriesClass.scFastLine)
We have sent you an email with same solution. Can you please review and answer that?

Hoping this helps.
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

wbush
Newbie
Newbie
Posts: 3
Joined: Fri Jul 22, 2016 12:00 am

Re: scFastLine not defined

Post by wbush » Tue Aug 09, 2016 5:19 pm

Hi,

I have that error fixed but now i am seeing another variable not defined error for the variable aRightAxis.

Code:

TChart.Object.Series(y - 2).VerticalAxis = aRightAxis


Also could you tell me a quick way to search for these variables in the teechart files?

wbush
Newbie
Newbie
Posts: 3
Joined: Fri Jul 22, 2016 12:00 am

Re: scFastLine not defined

Post by wbush » Tue Aug 09, 2016 5:28 pm

In the previous issue it gives me an error when i use TeeChart.ESeriesClass.scFastLine, but when i use TChart.ESeriesClass.scFastLine i see no errors.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: scFastLine not defined

Post by Sandra » Wed Aug 10, 2016 2:17 pm

Hello wbush,

We have given you an answer via e-mail.

Thanks for your help.
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply