dotnetCHARTING Send comments on this topic.
Calculate Method
See Also 
dotnetCHARTING Namespace > Series Class : Calculate Method


name
Name of the returned element.
calculation
The calculation to perform.
Performs a Calculation on current instance of this series.

Syntax

Visual Basic (Declaration) 
Public Function Calculate( _
   ByVal name As String, _
   ByVal calculation As Calculation _
) As Element
Visual Basic (Usage)Copy Code
Dim instance As Series
Dim name As String
Dim calculation As Calculation
Dim value As Element
 
value = instance.Calculate(name, calculation)
C# 
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.

See Also