Xceed Chart for WinForms v4.4 Documentation
FindMaxValue Method


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > DataSeries Class : FindMaxValue Method
Finds the index of the maximum value contained in the data series.
Syntax
'Declaration
 
Public Function FindMaxValue() As Integer
'Usage
 
Dim instance As DataSeries
Dim value As Integer
 
value = instance.FindMaxValue()
public int FindMaxValue()

Return Value

the index of the max value. -1 if data series is empty.
Exceptions
ExceptionDescription
thrown if the data series does not contain double values
Remarks
Note that this method operates only on data series, which contain double values.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataSeries Class
DataSeries Members