[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Chart.ChartAreasCollection

ChartAreasCollection Class

Chart areas collection class

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

Constructors

Name Description
ChartAreasCollection()

Initializes a new instance of the ChartAreasCollection class.

Properties

Name Description
this[int]

Gets or sets area object at the given index

this[string]

Gets the ChartArea with the specified chart area name.

Methods

Name Description
Add(ChartArea)

Adds area object to the current collection

AddRange(ChartArea[])

Adds a set of area objects to the current collection

Clear()

Removes all chart areas from the collection

Clone()

Creates clone of the current object

Contains(ChartArea)

Determines whether the Collection contains the given ChartArea

CopyTo(ChartArea[], int)

TBW

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

IndexOf(ChartArea)

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

Insert(int, ChartArea)

Inserts an element into the collection at the specified index.

OnClearComplete()

Called after the collection is cleared; marks the chart as needing a redraw.

OnInsertComplete(int, object)

Called after a chart area is inserted; attaches the area to this collection and grows the chart's grid layout if it is too small to accommodate the new area.

OnRemoveComplete(int, object)

Called after a chart area is removed; shrinks the grid layout if possible, clears references that pointed to the removed area, and marks the chart as needing a redraw.

Remove(ChartArea)

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

Events

Name Description
Change

Occurs when collection contents is changed.