dotnetCHARTING Send comments on this topic.
Calculate(String,Calculation,Int32) Method
See Also 
dotnetCHARTING Namespace > SeriesCollection Class > Calculate Method : Calculate(String,Calculation,Int32) Method


label
Name of the returned series.
calc
Calculation to perform on this collection.
ExtraParam
Extra parameter.
Performs a Calculation on this collection with an extra parameter.

Syntax

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
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)
C# 
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.

See Also

© 2018 All Rights Reserved.