Dundas Chart for Windows Forms
DataPointCollection Class
Members  See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace : DataPointCollection Class


This represents a collection of DataPoint objects.


Data points collection

Object Model

Syntax

Visual Basic (Declaration)  
Public Class DataPointCollection 
Visual Basic (Usage) Copy Code
Dim instance As DataPointCollection
C#  
public class DataPointCollection 

Remarks

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.

Inheritance Hierarchy

System.Object
   Dundas.Charting.WinControl.DataPointCollection

Requirements

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

See Also

© 2009 All Rights Reserved.