Skip to main content

TrendlineCollection Members

A collection that stores the Trendline objects for the specified series.

Properties

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

Name Description
Add(ChartTrendlineType, String) Creates a new trendline of the specified type with the specified name and adds it to the collection.
Add(ChartTrendlineType) Creates a new trendline of the specified type and adds it to the collection.
Clear() Removes all items from a collection.
Contains(Trendline) Determines whether the collection contains the specified item.
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
IndexOf(Trendline) Returns the index of the specified item in the collection.
Remove(Trendline) Removes the specified legend entry from the collection.
RemoveAt(Int32) Removes the entry at the specified index of the TrendlineCollection instance.
See Also