Item(Index: Integer): Variant;
Index. Series point index.
The Item property determines value of series point by its index.
This example describes custom method. Executing the example requires that a data series should be passed by points.
Add links to the MathFin, Ms system assemblies.
Public Function UserInput(Input: ITimeSeries): Double;
Var
i: Integer;
Begin
If Input.PointCount > 0 Then
i := Input.CurrentIndex;
Return Math.Log10(Input.Item(i));
End If;
End Function UserInput;
After executing the example the method returns natural logarithm of series.
See also: