Skip to main content

TrendlineCollection Methods

A collection that stores the Trendline objects for the specified series.
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