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?
scFastLine not defined
Re: scFastLine not defined
Hello wbrush,
The code below shows you how can add a new series using Visual Studio:
cSharp code
Visual Basic code
We have sent you an email with same solution. Can you please review and answer that?
Hoping this helps.
The code below shows you how can add a new series using Visual Studio:
cSharp code
Code: Select all
axTChart1.AddSeries(TeeChart.ESeriesClass.scFastLine);
Code: Select all
TChart1.AddSeries(TeeChart.ESeriesClass.scFastLine)
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 |
Instructions - How to post in this forum |
Re: scFastLine not defined
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?
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?
Re: scFastLine not defined
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.
Re: scFastLine not defined
Hello wbush,
We have given you an answer via e-mail.
Thanks for your help.
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 |
Instructions - How to post in this forum |