ZedGraph LogoZedGraph Class Library Documentation
BasicArrayPointList Class
NamespacesZedGraphBasicArrayPointList
A data collection class for ZedGraph, provided as an alternative to PointPairList.
Declaration Syntax
C#Visual BasicVisual C++
[SerializableAttribute]
public class BasicArrayPointList : IPointList, 
	ICloneable
<SerializableAttribute> _
Public Class BasicArrayPointList _
	Implements IPointList, ICloneable
[SerializableAttribute]
public ref class BasicArrayPointList : IPointList, 
	ICloneable
Members
All MembersConstructorsMethodsPropertiesFields



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

BasicArrayPointListBasicArrayPointListNew(BasicArrayPointList)
The Copy Constructor

Clone()()
Typesafe, deep-copy clone method.

Count
Returns the number of points available in the arrays. Count will be the greater of the lengths of the X and Y arrays.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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.)
GetHashCode()()
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()
Gets the Type of the current instance.
(Inherited from Object.)
Item[([Int32])]
Indexer to access the specified PointPair object by its ordinal position in the list.

MemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ICloneable..::Clone()()
Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone()()

ToString()()
Returns a String that represents the current Object.
(Inherited from Object.)
x
Instance of an array of x values

y
Instance of an array of x values

Remarks
The data storage class for ZedGraph can be any type, so long as it uses the IPointList interface. This class, albeit simple, is a demonstration of implementing the IPointList interface to provide a simple data collection using only two arrays. The IPointList interface can also be used as a layer between ZedGraph and a database, for example.
Inheritance Hierarchy
Object
BasicArrayPointList
See Also

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621