Bearbeiten

Freigeben über


StatisticFormula.Median(String) Method

Definition

Returns the median of all data points in the specified series.

public:
 double Median(System::String ^ inputSeriesName);
public double Median (string inputSeriesName);
member this.Median : string -> double
Public Function Median (inputSeriesName As String) As Double

Parameters

inputSeriesName
String

Input series name.

Returns

A double value that represents the median.

Remarks

Use this method to calculate the median of the points stored in a series.

The median is the middle value of a sample set, where half of the members are greater in size and half the members are lesser in size.

If the specified input series does not exist in the SeriesCollection at the time of the method call, an exception will be thrown.

Applies to