DataPointCollection.FindMaxByValue Method (String, Int32)

.NET Framework (current version)
 

Finds the data point with the maximum value, starting from the specified index location.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public DataPoint FindMaxByValue(
	string useValue,
	int startIndex
)

Parameters

useValue
Type: System.String

The data point value to use (X, Y1, Y2...).

startIndex
Type: System.Int32

The index location of the data point to start searching from.

Return Value

Type: System.Web.UI.DataVisualization.Charting.DataPoint

The DataPoint object with the maximum value.

.NET Framework
Available since 4.0
Return to top
Show: