[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Chart.DataPointsCollection

DataPointsCollection Class

DataPoints collection class

Inheritance
DataPointsCollection
Namespace: GrapeCity.ActiveReports.Chart
Assembly: MESCIUS.ActiveReports.Chart.dll
Syntax
[TypeConverter(typeof(DataPointsCollection.Converter))]
public sealed class DataPointsCollection : CollectionBase, IList, ICollection, IEnumerable, IGraphItem, ICloneable

Constructors

Name Description
DataPointsCollection()

Initializes a new instance of the DataPointsCollection class.

Properties

Name Description
Capacity

Gets or sets the number of elements that the DataPointsCollection can contain.

Count

Gets the number of elements contained in the DataPointsCollection instance.

this[int]

Gets or sets collection item by given index

Methods

Name Description
Add(DataPoint)

Adds layer object to the current collection

AddRange(DataPoint[])

Adds a set of layers to the current collection

AddXY(object, params double[])

Adds a DataPoint with the specified parameters to the DataPointsCollection.

AddY(params double[])

Adds a DataPoint with the specified y value to the DataPointsCollection.

Clone()

Creates a clone of the current collection

Contains(DataPoint)

Determines whether the Collection contains the given DataPoint

CopyTo(DataPoint[], int)

TBW

DataBindXY(IEnumerable, params IEnumerable[])

Binds the X value and Y values of the collection's DataPoints to the first column(s) of the specified data source(s).

DataBindXY(object, string, object, string)

Binds the X and Y values of the collection's DataPoints to the specified column(s) of the specified data source.

DataBindXY(object[], params double[][])

Binds the X value and Y values of the collection's DataPoints to a specified data source.

DataBindY(params IEnumerable[])

Binds the Y value(s) of the collection's DataPoints to the first column of the specified data source(s).

DataBindY(params double[][])

Binds the Y values of the collection's DataPoints to a specified data source.

DataBindY(object, string)

Binds the Y value(s) of the collection's DataPoints to the specified column(s) of the specified data source.

IndexOf(DataPoint)

Returns the index of the first occurrence of a value in the collection.

Insert(int, DataPoint)

Inserts an element into the collection at the specified index.

OnClearComplete()
OnInsertComplete(int, object)
OnRemoveComplete(int, object)
Remove(DataPoint)

Removes the first occurrence of a specific object from the collection.

Events

Name Description
Change

Occurs when the collection's content is changed