This represents a collection of DataPoint objects.
Data points collection
Visual Basic (Declaration) | |
---|---|
Public Class DataPointCollection |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class DataPointCollection |
The DataPointCollection class represents a collection of DataPoint objects, which in turn represent the data points that are part of a Series object.
This collection class is implemented as the Points property of a Series object.
DataPoint objects can be appended or inserted into the collection with their X-value and Y-value(s) already specified as parameters. Note that they are also added automatically when a series is bound to a datasource using either the DataBindY or DataBindXY method.
Data points are plotted in the order that they occur in this collection only if the series that the collection belongs to has its XValueIndexed property set to true (defaults to false), or all X-values for all data points is zero. Otherwise data points are plotted using their X-values.
Data points can be located (and manipulated) based on maximum, minimum or specified X or Y-values using the overloaded FindMaxValue, FindMinValue or FindValue methods, respectively.
The Count property indicates the total number of items in the collection, and is commonly used to find the upper bound of the collection.
System.Object
Dundas.Charting.WinControl.DataPointCollection
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family