Visual Basic (Declaration) | |
---|---|
Public Overloads Function Calculate( _ ByVal label As String, _ ByVal calc As Calculation, _ ByVal ExtraParam As Integer _ ) As Series |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Series Calculate( string label, Calculation calc, int ExtraParam ) |
Parameters
- label
- Name of the returned series.
- calc
- The calculation to perform on this collection.
- ExtraParam
- Extra parameter.
Return Value
Returns a series based on the specified calculation.Calculation.TrendLineLinear and Calculation.TrendLineLinearScatter will yield result with extra elements which simulate the continuance of a trend. Supplying the ExtraParam parameter denotes the number of extra elements to create.