DataPointCollection::FindByValue Method (Double, String^)
.NET Framework (current version)
Finds the first data point that is equal to the specified value.
Assembly: System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)
Parameters
- valueToFind
-
Type:
System::Double
The data point value to find.
- useValue
-
Type:
System::String^
The data point value to use (X, Y1, Y2...).
Return Value
Type: System.Windows.Forms.DataVisualization.Charting::DataPoint^The DataPoint that matches the specified value, or null if there is no match.
.NET Framework
Available since 4.0
Available since 4.0
Show: