enumconstant

TeeChart for ActiveX, COM and ASP
Post Reply
M.Takeda
Newbie
Newbie
Posts: 18
Joined: Tue Aug 17, 2004 4:00 am

enumconstant

Post by M.Takeda » Sun Sep 12, 2004 7:32 am

in C#.NET,followings line makes error
1) axTChart1.Scroll.Enable=pmHorizontal;
2) axTChart1.AddSeries(scLine),
but axTChart1.AddSeries(0) is OK.

How can I coding this?
How can I use EnumConstant in C#,VB.Net such as
axTChart1.AddSeries(scLine) /
EChartScroll = (pmNone, pmHorizontal, pmVertical, pmBoth);
Thanks in advance.

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Sep 13, 2004 6:57 am

Hi,

in C# you must do :
axTChart1.Scroll.Enable=TeeChart.EChartScroll.pmHorizontal;
axTChart1.AddSeries(TeeChart.ESeriesClass.scLine);

Post Reply