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


label
Name of the returned series.
calc
Calculation to perform on this collection.
subValueSource
The ElementValue to store in the resulting element's SubValue collection.
Performs a Calculation on this collection and stores the specified source element values in the resulting element's SubValue collections.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Calculate( _
   ByVal label As String, _
   ByVal calc As Calculation, _
   ByVal subValueSource As ElementValue _
) As Series
Visual Basic (Usage)Copy Code
Dim instance As SeriesCollection
Dim label As String
Dim calc As Calculation
Dim subValueSource As ElementValue
Dim value As Series
 
value = instance.Calculate(label, calc, subValueSource)
C# 
public Series Calculate( 
   string label,
   Calculation calc,
   ElementValue subValueSource
)

Parameters

label
Name of the returned series.
calc
Calculation to perform on this collection.
subValueSource
The ElementValue to store in the resulting element's SubValue collection.

Return Value

Returns a series based on the specified calculation.

See Also

© 2010 All Rights Reserved.