This method returns the average of all data points stored in the specified series.
/// Returns the average (arithmetic mean) of the arguments. 
Syntax
| Visual Basic (Usage) | 
 Copy Code | 
Dim instance As Statistics
Dim inputSeriesName As String
Dim value As Double
 
value = instance.Mean(inputSeriesName)
  | 
 
Parameters
- inputSeriesName 
 - The name of a data series. The median of all data points in the series will be calculated, using the first Y-values (Y1) of the points.
Input Series Name 
Return Value
Returns Mean
 
Example
This sample gets the average of the data points in a series named "Series1". Note that the Y1 value of the data points is used. 
| Visual Basic | 
 Copy Code | 
Imports Dundas.Charting.WinControl ...
  Dim result As Double = Chart1.DataManipulator.Statistics.Mean("Series1") | 
 
| C# | 
 Copy Code | 
using Dundas.Charting.WinControl; ...
  double result = Chart1.DataManipulator.Statistics.Mean("Series1"); | 
  
Remarks
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
 
See Also