ITeeFunction.Period
ITeeFunction

property Period: Double;

Type Library
TeeChartx

Description
The Period property controls how many points or X range(see note below) will trigger a new point calculation.

For example, AverageFunction uses the Period property to calculate a new average point each time the "Period" number of points or X range(see note below) is exceed.

Period property Example

For example, this code uses a TeeFunction to show one point for every 5 points in the Series2 datasource series:

Delphi

With TChart1 do

Begin

Series0.Pointer.Visible:= True; {Function}

Series1.Pointer.Visible:= True; {Source Series}

Series0.FunctionType.Period:= 5;

end;

Visual Basic

With TChart2

.Series( 2 ).asLine.Pointer.Visible = True

.Series( 0 ).asLine.Pointer.Visible = True

.Series( 2 ).FunctionType.Period = 5

End With