ICustomFunction
Hierarchy Properties
Type Library
TeeChartx
Description
This function is used to calculate values using your own formula.
Use the OnCalculate event to supply your values.
The StartX property determines the first "X" value to use, and the NumPoints property means the number of times to call OnCalculate event.
The Period property is the "step" to apply to "X" between each call to OnCalculate.
Example [Visual Basic]:
Private Sub TChart1_OnFunctionCalculate(ByVal SeriesIndex As Long, ByVal x As Double, y As Double)
y = Sin(x / 10)
End Sub