DataPointCollection.FindByValue Method (Double, String, Int32)
.NET Framework (current version)
Finds the first data point that is equal to the specified value, starting from the specified index location.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
Public Function FindByValue ( valueToFind As Double, useValue As String, startIndex As Integer ) As DataPoint
Parameters
- valueToFind
-
Type:
System.Double
The data point value to find.
- 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.DataPointThe DataPoint that matches the specified value, or null if there is no match.
.NET Framework
Available since 4.0
Available since 4.0
Show: