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


elementName
The name of the element which will be displayed on the chart, i.e. its label.
s
A statistical series.
Calculates the median of the series's elements YValues.

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Function Median( _
   ByVal elementName As String, _
   ByVal s As Series _
) As Element
Visual Basic (Usage)Copy Code
Dim elementName As String
Dim s As Series
Dim value As Element
 
value = StatisticalEngine.Median(elementName, s)
C# 
public static Element Median( 
   string elementName,
   Series s
)

Parameters

elementName
The name of the element which will be displayed on the chart, i.e. its label.
s
A statistical series.

See Also