ZedGraph LogoZedGraph Class Library Documentation
PointPairList Class
NamespacesZedGraphPointPairList
A collection class containing a list of PointPair objects that define the set of points to be displayed on the curve.
Declaration Syntax
C#Visual BasicVisual C++
<SerializableAttribute> _
Public Class PointPairList _
	Inherits List(Of PointPair) _
	Implements IPointListEdit, IPointList, ICloneable
[SerializableAttribute]
public ref class PointPairList : public List<PointPair^>, 
	IPointListEdit, IPointList, ICloneable
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
PointPairListPointPairListNew()()
Default constructor for the collection class

PointPairListPointPairListNew(array<Double>[](), array<Double>[]())
Constructor to initialize the PointPairList from two arrays of type double.

PointPairListPointPairListNew(IPointList)
Constructor to initialize the PointPairList from an IPointList

PointPairListPointPairListNew(array<Double>[](), array<Double>[](), array<Double>[]())
Constructor to initialize the PointPairList from three arrays of type double.

PointPairListPointPairListNew(PointPairList)
The Copy Constructor

Add(PointPair)
Add a PointPair object to the collection at the end of the list.

Add(PointPairList)
Add a PointPairList object to the collection at the end of the list.

Add(array<Double>[](), array<Double>[]())
Add a set of points to the PointPairList from two arrays of type double. If either array is null, then a set of ordinal values is automatically generated in its place (see Ordinal. If the arrays are of different size, then the larger array prevails and the smaller array is padded with Missing values.

Add(array<Double>[](), array<Double>[](), array<Double>[]())
Add a set of points to the PointPairList from three arrays of type double. If the X or Y array is null, then a set of ordinal values is automatically generated in its place (see Ordinal. If the is null, then it is set to zero. If the arrays are of different size, then the larger array prevails and the smaller array is padded with Missing values.

Add(Double, Double)
Add a single point to the PointPairList from values of type double.

Add(Double, Double, String)
Add a single point to the PointPairList from values of type double.

Add(Double, Double, Double)
Add a single point to the PointPairList from values of type double.

Add(Double, Double, Double, String)
Add a single point to the PointPairList from values of type double.

AddRange(IEnumerable<(Of <T>)>)
Adds the elements of the specified collection to the end of the List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
AsReadOnly()()
Returns a read-only IList<(Of <T>)> wrapper for the current collection.
(Inherited from List<(Of <PointPair>)>.)
BinarySearch(Int32, Int32, T, IComparer<(Of <T>)>)
Searches a range of elements in the sorted List<(Of <T>)> for an element using the specified comparer and returns the zero-based index of the element.
(Inherited from List<(Of <PointPair>)>.)
BinarySearch(T)
Searches the entire sorted List<(Of <T>)> for an element using the default comparer and returns the zero-based index of the element.
(Inherited from List<(Of <PointPair>)>.)
BinarySearch(T, IComparer<(Of <T>)>)
Searches the entire sorted List<(Of <T>)> for an element using the specified comparer and returns the zero-based index of the element.
(Inherited from List<(Of <PointPair>)>.)
Capacity
Gets or sets the total number of elements the internal data structure can hold without resizing.
(Inherited from List<(Of <PointPair>)>.)
Clear()()
Removes all elements from the List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
Clone()()
Typesafe, deep-copy clone method.

Contains(T)
Determines whether an element is in the List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
ConvertAll<(Of <TOutput>)>(Converter<(Of <T, TOutput>)>)
Converts the elements in the current List<(Of <T>)> to another type, and returns a list containing the converted elements.
(Inherited from List<(Of <PointPair>)>.)
CopyTo(array<T>[]())
Copies the entire List<(Of <T>)> to a compatible one-dimensional array, starting at the beginning of the target array.
(Inherited from List<(Of <PointPair>)>.)
CopyTo(Int32, array<T>[](), Int32, Int32)
Copies a range of elements from the List<(Of <T>)> to a compatible one-dimensional array, starting at the specified index of the target array.
(Inherited from List<(Of <PointPair>)>.)
CopyTo(array<T>[](), Int32)
Copies the entire List<(Of <T>)> to a compatible one-dimensional array, starting at the specified index of the target array.
(Inherited from List<(Of <PointPair>)>.)
Count
Gets the number of elements actually contained in the List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
Equals(Object)
Compare two PointPairList objects to see if they are equal.
(Overrides Object.Equals(Object).)
Exists(Predicate<(Of <T>)>)
Determines whether the List<(Of <T>)> contains elements that match the conditions defined by the specified predicate.
(Inherited from List<(Of <PointPair>)>.)
Finalize()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Find(Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
FindAll(Predicate<(Of <T>)>)
Retrieves the all the elements that match the conditions defined by the specified predicate.
(Inherited from List<(Of <PointPair>)>.)
FindIndex(Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
FindIndex(Int32, Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List<(Of <T>)> that extends from the specified index to the last element.
(Inherited from List<(Of <PointPair>)>.)
FindIndex(Int32, Int32, Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List<(Of <T>)> that starts at the specified index and contains the specified number of elements.
(Inherited from List<(Of <PointPair>)>.)
FindLast(Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
FindLastIndex(Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
FindLastIndex(Int32, Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the List<(Of <T>)> that extends from the first element to the specified index.
(Inherited from List<(Of <PointPair>)>.)
FindLastIndex(Int32, Int32, Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the List<(Of <T>)> that contains the specified number of elements and ends at the specified index.
(Inherited from List<(Of <PointPair>)>.)
ForEach(Action<(Of <T>)>)
Performs the specified action on each element of the List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
GetEnumerator()()
Returns an enumerator that iterates through the List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
GetHashCode()()
Return the HashCode from the base class.
(Overrides Object.GetHashCode()().)
GetRange(Int32, Int32)
Creates a shallow copy of a range of elements in the source List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
GetType()()
Gets the Type of the current instance.
(Inherited from Object.)
IndexOf(T)
Searches for the specified object and returns the zero-based index of the first occurrence within the entire List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
IndexOf(T, Int32)
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List<(Of <T>)> that extends from the specified index to the last element.
(Inherited from List<(Of <PointPair>)>.)
IndexOf(T, Int32, Int32)
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List<(Of <T>)> that starts at the specified index and contains the specified number of elements.
(Inherited from List<(Of <PointPair>)>.)
IndexOfTag(String)
Return the zero-based position index of the PointPair with the specified label Tag.

Insert(Int32, PointPair)
Add a PointPair object to the collection at the specified, zero-based, index location.

Insert(Int32, Double, Double)
Add a single point (from values of type double ) to the PointPairList at the specified, zero-based, index location.

Insert(Int32, Double, Double, Double)
Add a single point (from values of type double ) to the PointPairList at the specified, zero-based, index location.

InsertRange(Int32, IEnumerable<(Of <T>)>)
Inserts the elements of a collection into the List<(Of <T>)> at the specified index.
(Inherited from List<(Of <PointPair>)>.)
InterpolateX(Double)
Linearly interpolate the data to find an arbitraty Y value that corresponds to the specified X value.

InterpolateY(Double)
Linearly interpolate the data to find an arbitraty X value that corresponds to the specified Y value.

Item[([Int32])]
Gets or sets the element at the specified index.
(Inherited from List<(Of <PointPair>)>.)
LastIndexOf(T)
Searches for the specified object and returns the zero-based index of the last occurrence within the entire List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
LastIndexOf(T, Int32)
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List<(Of <T>)> that extends from the first element to the specified index.
(Inherited from List<(Of <PointPair>)>.)
LastIndexOf(T, Int32, Int32)
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List<(Of <T>)> that contains the specified number of elements and ends at the specified index.
(Inherited from List<(Of <PointPair>)>.)
LinearRegression(IPointList, Int32)
Use linear regression to form a least squares fit of an existing IPointList instance.

LinearRegression(IPointList, Int32, Double, Double)
Use linear regression to form a least squares fit of an existing IPointList instance.

MemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(T)
Removes the first occurrence of a specific object from the List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
RemoveAll(Predicate<(Of <T>)>)
Removes the all the elements that match the conditions defined by the specified predicate.
(Inherited from List<(Of <PointPair>)>.)
RemoveAt(Int32)
Removes the element at the specified index of the List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
RemoveRange(Int32, Int32)
Removes a range of elements from the List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
Reverse()()
Reverses the order of the elements in the entire List<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
Reverse(Int32, Int32)
Reverses the order of the elements in the specified range.
(Inherited from List<(Of <PointPair>)>.)
SetX(array<Double>[]())
Set the X values for this PointPairList from the specified array of double values.

SetY(array<Double>[]())
Set the Y values for this PointPairList from the specified array of double values.

SetZ(array<Double>[]())
Set the Z values for this PointPairList from the specified array of double values.

Sort()()
Sorts the list according to the point x values. Will not sort the list if the list is already sorted.

Sort(SortType)
Sorts the list according to the point values . Will not sort the list if the list is already sorted.

Sort(IComparer<(Of <T>)>)
Sorts the elements in the entire List<(Of <T>)> using the specified comparer.
(Inherited from List<(Of <PointPair>)>.)
Sort(Int32, Int32, IComparer<(Of <T>)>)
Sorts the elements in a range of elements in List<(Of <T>)> using the specified comparer.
(Inherited from List<(Of <PointPair>)>.)
Sort(Comparison<(Of <T>)>)
Sorts the elements in the entire List<(Of <T>)> using the specified Comparison<(Of <T>)>.
(Inherited from List<(Of <PointPair>)>.)
Sorted
true if the list is currently sorted.

SplineInterpolateX(Double, Double)
Use Cardinal Splines to Interpolate the data to find an arbitraty Y value that corresponds to the specified X value.

SumX(PointPairList)
Add the X values from the specified PointPairList object to this PointPairList. If has more values than this list, then the extra values will be ignored. If has less values, the missing values are assumed to be zero.

SumY(PointPairList)
Add the Y values from the specified PointPairList object to this PointPairList. If has more values than this list, then the extra values will be ignored. If has less values, the missing values are assumed to be zero.

ICollection<(Of <T>)>..::IsReadOnly (Inherited from List<(Of <PointPair>)>.)
IEnumerable<(Of <T>)>..::GetEnumerator()() (Inherited from List<(Of <PointPair>)>.)
ICollection..::CopyTo(Array, Int32) (Inherited from List<(Of <PointPair>)>.)
ICollection..::IsSynchronized (Inherited from List<(Of <PointPair>)>.)
ICollection..::SyncRoot (Inherited from List<(Of <PointPair>)>.)
IEnumerable..::GetEnumerator()() (Inherited from List<(Of <PointPair>)>.)
IList..::Add(Object) (Inherited from List<(Of <PointPair>)>.)
IList..::Contains(Object) (Inherited from List<(Of <PointPair>)>.)
IList..::IndexOf(Object) (Inherited from List<(Of <PointPair>)>.)
IList..::Insert(Int32, Object) (Inherited from List<(Of <PointPair>)>.)
IList..::IsFixedSize (Inherited from List<(Of <PointPair>)>.)
IList..::IsReadOnly (Inherited from List<(Of <PointPair>)>.)
IList..::Item[([Int32])] (Inherited from List<(Of <PointPair>)>.)
IList..::Remove(Object) (Inherited from List<(Of <PointPair>)>.)
ICloneable..::Clone()()
Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone()()

ToArray()()
Copies the elements of the List<(Of <T>)> to a new array.
(Inherited from List<(Of <PointPair>)>.)
ToString()()
Returns a String that represents the current Object.
(Inherited from Object.)
TrimExcess()()
Sets the capacity to the actual number of elements in the List<(Of <T>)>, if that number is less than a threshold value.
(Inherited from List<(Of <PointPair>)>.)
TrueForAll(Predicate<(Of <T>)>)
Determines whether every element in the List<(Of <T>)> matches the conditions defined by the specified predicate.
(Inherited from List<(Of <PointPair>)>.)
Inheritance Hierarchy
Object
List<(Of <PointPair>)>
 PointPairList
See Also

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621