Upravit

Sdílet prostřednictvím


StatisticFormula.Mean(String) Method

Definition

Returns the average of all data points stored in the specified series.

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

Parameters

inputSeriesName
String

Input series name.

Returns

A double value that represents the average of all data points.

Remarks

Use this method to calculate the mean (that is, the average) of the points stored in a series.

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