dotnetCHARTING Send comments on this topic.
Variance(String,SeriesCollection) Method
See Also 
dotnetCHARTING Namespace > StatisticalEngine Class > Variance Method : Variance(String,SeriesCollection) Method


seriesName
The name of the series which will be displayed on the chart, i.e. its label.
sc
A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.
Calculates the sample variance of the series's elements YValues.

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Function Variance( _
   ByVal seriesName As String, _
   ByVal sc As SeriesCollection _
) As Series
Visual Basic (Usage)Copy Code
Dim seriesName As String
Dim sc As SeriesCollection
Dim value As Series
 
value = StatisticalEngine.Variance(seriesName, sc)
C# 
public static Series Variance( 
   string seriesName,
   SeriesCollection sc
)

Parameters

seriesName
The name of the series which will be displayed on the chart, i.e. its label.
sc
A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.

See Also