dotnetCHARTING Send comments on this topic.
Median(String,SeriesCollection) Method
See Also 
dotnetCHARTING Namespace > StatisticalEngine Class > Median Method : Median(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 median of the series's elements YValues.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Median( _
   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.Median(seriesName, sc)
C# 
public static Series Median( 
   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

© 2010 All Rights Reserved.