แก้ไข

แชร์ผ่าน


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::Windows::Forms::DataVisualization::Charting::DataPoint ^ FindMaxByValue();
public System.Windows.Forms.DataVisualization.Charting.DataPoint FindMaxByValue ();
member this.FindMaxByValue : unit -> System.Windows.Forms.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::Windows::Forms::DataVisualization::Charting::DataPoint ^ FindMaxByValue(System::String ^ useValue);
public System.Windows.Forms.DataVisualization.Charting.DataPoint FindMaxByValue (string useValue);
member this.FindMaxByValue : string -> System.Windows.Forms.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::Windows::Forms::DataVisualization::Charting::DataPoint ^ FindMaxByValue(System::String ^ useValue, int startIndex);
public System.Windows.Forms.DataVisualization.Charting.DataPoint FindMaxByValue (string useValue, int startIndex);
member this.FindMaxByValue : string * int -> System.Windows.Forms.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