DataPointCollection.FindAllByValue Method

Definition

Finds all the data points that are equal to the specified value.

Overloads

FindAllByValue(Double, String, Int32)

Finds all the data points that are equal to the specified value, starting from the specified index location.

FindAllByValue(Double, String)

Finds all the data points that are equal to the specified value.

FindAllByValue(Double)

Finds all the data points that are equal to the specified value.

FindAllByValue(Double, String, Int32)

Finds all the data points that are equal to the specified value, starting from the specified index location.

C#
public System.Collections.Generic.IEnumerable<System.Windows.Forms.DataVisualization.Charting.DataPoint> FindAllByValue(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

An IEnumerable<T> interface that represents the enumerator of the matching data points.

Applies to

.NET Framework 4.8.1 والإصدارات الأخرى
منتج الإصدارات
.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

FindAllByValue(Double, String)

Finds all the data points that are equal to the specified value.

C#
public System.Collections.Generic.IEnumerable<System.Windows.Forms.DataVisualization.Charting.DataPoint> FindAllByValue(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

An IEnumerable<T> interface that represents the enumerator of the matching data points.

Applies to

.NET Framework 4.8.1 والإصدارات الأخرى
منتج الإصدارات
.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

FindAllByValue(Double)

Finds all the data points that are equal to the specified value.

C#
public System.Collections.Generic.IEnumerable<System.Windows.Forms.DataVisualization.Charting.DataPoint> FindAllByValue(double valueToFind);

Parameters

valueToFind
Double

The data point value to find.

Returns

An IEnumerable<T> interface that represents the enumerator of the matching data points.

Applies to

.NET Framework 4.8.1 والإصدارات الأخرى
منتج الإصدارات
.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