[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Chart.SeriesCollection

SeriesCollection Class

Series collection class

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

Constructors

Name Description
SeriesCollection()

Initializes a new instance of the SeriesCollection class.

Properties

Name Description
this[int]

Gets or sets collection item by given index

this[string]

Gets the Series with the specified series name.

Methods

Name Description
Add(Series)

Adds layer object to the current collection

AddRange(Series[])

Adds a set of layers to the current collection

Clone()

Creates a clone of the current collection

Contains(Series)

Determines whether the Collection contains the given Series

CopyTo(Series[], int)

TBW

Dispose()

Disposes this instance.

Equals(object)

Determines whether the specified object is equal to this instance.

GetHashCode()

Returns a hash code for this instance.

IndexOf(Series)

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

Insert(int, Series)

Inserts an element into the collection at the specified index.

OnClear()

Called before the collection is cleared; snapshots the current series so they remain available for cleanup in OnClearComplete().

OnClearComplete()

Called after the collection is cleared; releases the snapshot taken in OnClear() and marks the chart as needing a redraw.

OnInsertComplete(int, object)

Called after a series is inserted; assigns a unique name, attaches the series to this collection, and links it to the chart's default area and legend unless they were set explicitly.

OnRemoveComplete(int, object)

Called after a series is removed; revalidates the remaining series, detaches change handlers from the removed series, and marks the chart as needing a redraw.

OnSetComplete(int, object, object)

Called after an element is replaced at a given index; ensures the new series has a unique name and is attached to this collection as its parent.

Remove(Series)

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