ITeeFunction.EndUpdate
ITeeFunction
procedure EndUpdate;
Type Library
TeeChartx
Description
See also the BeginUpdate method.
These methods can be used when adding or modifying many values at once at a source Series to recalculate the function just one time, when finished adding points.
Example [Visual Basic]:
'Set Function Period
TChart1.Series(2).FunctionType.Period = 3
'Begin Update
TChart1.Series(2).FunctionType.BeginUpdate
'Add Series points
For i = 0 To 500
With TChart1.Series(0)
.AddXY .Count, 500 * Rnd(1000), "", clTeeColor
End With
With TChart1.Series(1)
.AddXY .Count, 500 * Rnd(1000), "", clTeeColor
End With
Next i
'End update and display function Series
TChart1.Series(2).FunctionType.EndUpdate