In This Article

MicroXYSeriesCollection Class

Represents a collection of MicroXYSeriesBase objects.

public class MicroXYSeriesCollection : DeferrableObservableCollection<MicroXYSeriesBase>
Inheritance:
object Collection<MicroXYSeriesBase> ObservableCollection<MicroXYSeriesBase> DeferrableObservableCollection<MicroXYSeriesBase> object

Constructors

MicroXYSeriesCollection(MicroXYChart)

Initializes a new instance of the MicroXYChart class.

public MicroXYSeriesCollection(MicroXYChart chart)
Parameter Type Description
chart MicroXYChart

The MicroXYChart that owns this collection and the associated series.

Methods

ClearItems()

Removes all items from the collection.

protected override void ClearItems()

InsertItem(int, MicroXYSeriesBase)

Inserts an item into the collection at the specified index.

protected override void InsertItem(int index, MicroXYSeriesBase item)
Parameter Type Description
index int

The zero-based index at which item should be inserted.

item MicroXYSeriesBase

The object to insert.

RemoveItem(int)

Removes the item at the specified index of the collection.

protected override void RemoveItem(int index)
Parameter Type Description
index int

The zero-based index of the item to remove.

SetItem(int, MicroXYSeriesBase)

Replaces the element at the specified index.

protected override void SetItem(int index, MicroXYSeriesBase item)
Parameter Type Description
index int

The zero-based index of the item to replace.

item MicroXYSeriesBase

The new value for the element at the specified index.

Inherited Members