Edit

Share via


DataPointCollection.FindMaxByValue Method

Definition

Finds the data point with the maximum value.

Overloads

FindMaxByValue()

Finds the data point with the maximum value.

FindMaxByValue(String)

Finds the data point value with the maximum value.

FindMaxByValue(String, Int32)

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

FindMaxByValue()

Finds the data point with the maximum value.

public:
 System::Web::UI::DataVisualization::Charting::DataPoint ^ FindMaxByValue();
public System.Web.UI.DataVisualization.Charting.DataPoint FindMaxByValue ();
member this.FindMaxByValue : unit -> System.Web.UI.DataVisualization.Charting.DataPoint
Public Function FindMaxByValue () As DataPoint

Returns

The DataPoint object with the maximum value.

Applies to

FindMaxByValue(String)

Finds the data point value with the maximum value.

public:
 System::Web::UI::DataVisualization::Charting::DataPoint ^ FindMaxByValue(System::String ^ useValue);
public System.Web.UI.DataVisualization.Charting.DataPoint FindMaxByValue (string useValue);
member this.FindMaxByValue : string -> System.Web.UI.DataVisualization.Charting.DataPoint
Public Function FindMaxByValue (useValue As String) As DataPoint

Parameters

useValue
String

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

Returns

The DataPoint object with the maximum value.

Applies to

FindMaxByValue(String, Int32)

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

public:
 System::Web::UI::DataVisualization::Charting::DataPoint ^ FindMaxByValue(System::String ^ useValue, int startIndex);
public System.Web.UI.DataVisualization.Charting.DataPoint FindMaxByValue (string useValue, int startIndex);
member this.FindMaxByValue : string * int -> System.Web.UI.DataVisualization.Charting.DataPoint
Public Function FindMaxByValue (useValue As String, startIndex As Integer) As DataPoint

Parameters

useValue
String

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

startIndex
Int32

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

Returns

The DataPoint object with the maximum value.

Applies to