Page 1 of 1

enumconstant

Posted: Sun Sep 12, 2004 7:32 am
by 9523566
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.

Posted: Mon Sep 13, 2004 6:57 am
by Pep
Hi,

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