ZedGraph LogoZedGraph Class Library Documentation
Add Method (x, y)
NamespacesZedGraphPointPairListAdd(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.
Declaration Syntax
C#Visual BasicVisual C++
public void Add(
	double[] x,
	double[] y
)
Public Sub Add ( _
	x As Double(), _
	y As Double() _
)
public:
void Add (
	array<double>^ x, 
	array<double>^ y
)
Parameters
x (array<Double>[]())
A double[] array of X values
y (array<Double>[]())
A double[] array of Y values
Return Value
The zero-based ordinal index where the last point was added in the list, or -1 if no points were added.

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621