DataPointCollection.FindByValue Method

Definition

Finds the first data point that is equal to the specified value.

Overloads

FindByValue(Double)

Finds the first data point that is equal to the specified value.

FindByValue(Double, String)

Finds the first data point that is equal to the specified value.

FindByValue(Double, String, Int32)

Finds the first data point that is equal to the specified value, starting from the specified index location.

FindByValue(Double)

Finds the first data point that is equal to the specified value.

public System.Web.UI.DataVisualization.Charting.DataPoint FindByValue (double valueToFind);

Parameters

valueToFind
Double

The data point value to find.

Returns

The DataPoint that matches the specified value, or null if there is no match.

Applies to

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

FindByValue(Double, String)

Finds the first data point that is equal to the specified value.

public System.Web.UI.DataVisualization.Charting.DataPoint FindByValue (double valueToFind, string useValue);

Parameters

valueToFind
Double

The data point value to find.

useValue
String

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

Returns

The DataPoint that matches the specified value, or null if there is no match.

Applies to

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

FindByValue(Double, String, Int32)

Finds the first data point that is equal to the specified value, starting from the specified index location.

public System.Web.UI.DataVisualization.Charting.DataPoint FindByValue (double valueToFind, string useValue, int startIndex);

Parameters

valueToFind
Double

The data point value to find.

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 that matches the specified value, or null if there is no match.

Applies to

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1