Function Pen Style
Posted: Fri Jul 22, 2005 2:32 pm
I add a basic function as follows:
.AddSeries scLine
.Series(.SeriesCount - 1).Name = "MA"
.Series(.SeriesCount - 1).VerticalAxis = aRightAxis
.Series(.SeriesCount - 1).SetFunction tfMovavg
.Series(.SeriesCount - 1).DataSource = .Series(0)
.Series(.SeriesCount - 1).FunctionType.Period = 21
.Series(.SeriesCount - 1).Color = vbRed
I want user to be able to change the pen style to, for example psDash or psDotDash but this doesn't appear to work?
.AddSeries scLine
.Series(.SeriesCount - 1).Name = "MA"
.Series(.SeriesCount - 1).VerticalAxis = aRightAxis
.Series(.SeriesCount - 1).SetFunction tfMovavg
.Series(.SeriesCount - 1).DataSource = .Series(0)
.Series(.SeriesCount - 1).FunctionType.Period = 21
.Series(.SeriesCount - 1).Color = vbRed
I want user to be able to change the pen style to, for example psDash or psDotDash but this doesn't appear to work?