ITeeFunction.PeriodStyle
ITeeFunction

property PeriodStyle: EFunctionPeriodStyle;

Type Library
TeeChartx

Description
Sets the Period to apply to a range (eg. DateTime month) or a number of Series Points.

Example [Visual Basic]:

TChart1.Series(2).FunctionType.PeriodStyle = psRange

TChart1.Series(2).FunctionType.Period = TChart1.GetDateTimeStep(dtOneMonth)

------------

'The range can also be used for non-datetime series:

TChart1.Series(2).SetFunction (tfAverage)

TChart1.Series(2).FunctionType.PeriodStyle = psRange

TChart1.Series(2).FunctionType.Period = 100

TChart1.Series(2).DataSource = "Series1"

'This will calculate an average for each group of points

'inside every "100" interval.

'(Points with X >=0, X<100 will be used to calculate the

'first average, points with X >=100, X<200 will be used

'to calculate the second average and so on... )

'Notice this is different than calculating an average for

'every 100 points.