Interface IPointListEdit
An interface to a collection class containing data that define the set of points to be displayed on the curve.
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
public interface IPointListEdit : IPointList, ICloneable
Remarks
This interface is designed to allow customized data abstraction. The default data
collection class is Point
Properties
| Improve this Doc View SourceItem[Int32]
Indexer to access a data point by its ordinal position in the collection.
Declaration
PointPair this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System. |
index | The ordinal position (zero-based) of the data point to be accessed. |
Property Value
Remarks
This is the standard interface that ZedGraph uses to access the data. Although
you must pass a Point
Methods
| Improve this Doc View SourceAdd(Double, Double)
Appends a point to the end of the list. The data are passed in as two System.
Declaration
void Add(double x, double y)
Parameters
Type | Name | Description |
---|---|---|
System. |
x | The System. |
System. |
y | The System. |
Add(PointPair)
Appends a point to the end of the list. The data are passed in as a Point
Declaration
void Add(PointPair point)
Parameters
| Improve this Doc View SourceClear()
Clears all data points from the list. After calling this method, Count will be zero.
Declaration
void Clear()
RemoveAt(Int32)
Removes a single data point from the list at the specified ordinal location (zero based).
Declaration
void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System. |
index |