.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Series Class > Calculate Method : Calculate(String,Calculation) Method
Name of the returned element.
The calculation to perform.
Calculate(String,Calculation) Method
Performs a calculation on the current instance of this series.
Syntax
'Declaration
 
Public Overloads Function Calculate( _
   ByVal name As String, _
   ByVal calculation As Calculation _
) As Element
'Usage
 
Dim instance As Series
Dim name As String
Dim calculation As Calculation
Dim value As Element
 
value = instance.Calculate(name, calculation)
public Element Calculate( 
   string name,
   Calculation calculation
)

Parameters

name
Name of the returned element.
calculation
The calculation to perform.

Return Value

Returns an Element object based on the specified Calculation.
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