Calculate(String,Calculation,Int32) Method
Performs a Calculation on this collection with an extra parameter.
Syntax
'Declaration Public Overloads Function Calculate( _ ByVal label As String, _ ByVal calc As Calculation, _ ByVal ExtraParam As Integer _ ) As Series
'Usage Dim instance As SeriesCollection Dim label As String Dim calc As Calculation Dim ExtraParam As Integer Dim value As Series value = instance.Calculate(label, calc, ExtraParam)
public Series Calculate( string label, Calculation calc, int ExtraParam )
Parameters
- label
- Name of the returned series.
- calc
- Calculation to perform on this collection.
- ExtraParam
- Extra parameter.
Return Value
Returns a series based on the specified calculation.
Remarks
Calculation.TrendLineLinear and Calculation.TrendLineLinearScatter will yield a result with extra elements which simulate the continuance of a trend. Supplying the ExtraParam parameter denotes the number of extra elements to create.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also