Dundas Chart for ASP.NET
DataPointCollection Class Members
See Also  Properties  Methods  Send comments on this topic.
Dundas.Charting.WebControl Namespace : DataPointCollection Class


The following tables list the members exposed by DataPointCollection.

Public Properties

  Name Description
Public Property Count

Gets the number of items in the collection.


Number of items in the collection.  
Public Property IsFixedSize Gets a value indicating whether the collection has a fixed size.
Gets a value indicating whether the collection has a fixed size.  
Public Property IsReadOnly Gets a value indicating whether the collection is read-only.
Gets a value indicating whether the collection is read-only.  
Public Property IsSynchronized Gets a value indicating whether access to the collection is synchronized.
Gets a value indicating whether access to the collection is synchronized (thread-safe).  
Public Property Item Gets or sets the object at the specified index within the collection.
Indexer of the class. Returns the Data Point object by integer index.  
Public Property SyncRoot Gets an object that can be used to synchronize access to the collection.
Gets an object that can be used to synchronize access to the collection.  
Top

Public Methods

  Name Description
Public Method Add Overloaded. Adds a data point into the collection.  
Public Method AddXY Overloaded. Adds a data point to a series. The X and Y-values of the data point must be specified, and the position where the point is added is returned.  
Public Method AddY Overloaded. Adds a data point to a series. The Y-value(s) of the data point should be specified, and the position where the point is added is returned.  
Public Method Clear Clears the collection of all items.
Removes all items from the collection.  
Public Method Contains

Determines if a specific object is in a collection.


Check if specified object exists in the collection.  
Public Method CopyTo

This method is used by all Chart collections to copy all items in the collection to an array, starting at a particular array index.


Copies all the elements of the current collection to the specified one-dimensional collection starting at the specified destination index.  
Public Method DataBind

Data binds X-value, Y-value(s) and other extended chart properties such as Tooltip, Label, etc. . to the specified data source.


Data bind X, Y and other values (like Tooltip, Label,...) of the data points to the data source. Data source can be the Ole(SQL)DataReader, DataView, DataSet, DataTable or DataRow.  
Public Method DataBindXY Overloaded. Data binds the X-value and Y-values of the collection's data points to a specified data source.  
Public Method DataBindY Overloaded. Data binds the Y-value(s) of the collection's data points to a specified data source.  
Public Method FindMaxValue Overloaded. Finds and returns a DataPoint object with the maximum X or Y-value.  
Public Method FindMinValue Overloaded. Finds and returns a DataPoint object with the minimum X or Y-value.  
Public Method FindValue Overloaded. Finds the first data point in the collection that has a specified X or Y-value.  
Public Method GetEnumerator Gets a reference to the collection's enumerator.
Get collection enumerator.  
Public Method IndexOf

This method is used by Chart collections to retrieve the index of a specified object in a collection.


Gets first index of the collection item equal to the object provided.  
Public Method Insert Overloaded. Inserts a data point into the collection.  
Public Method InsertXY

Inserts a DataPoint object into the collection at the specified location, with the specified X and Y-values.


The Y-value(s) of the DataPoint object added to the collection (one or more comma-separated values).


Insert one data point with X value and one or more Y values.  
Public Method InsertY

Inserts a DataPoint object into the collection at the specified location, with the specified Y-values.


The Y-value(s) of the DataPoint object added to the collection (one or more comma-separated values).


Insert one data point with one or more Y values.  
Public Method Remove

Used by Chart collections to remove the first occurrence of a specified object from a collection.


Remove object from the collection  
Public Method RemoveAt

Used by Chart collections to remove an item from a collection at the specified index.


Remove item from the collection by index.  
Public Method RemoveRange

Removes a range of data points from the collection.


Removes a range of data points from the collection.  
Top

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.