Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Trendline Interface

Represents a trendline in a chart. A trendline shows the trend, or direction, of data in a series.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

[InterfaceTypeAttribute()]
[GuidAttribute("000208BE-0000-0000-C000-000000000046")]
public interface Trendline

The Trendline object is a member of the Trendlines collection. The Trendlines collection contains all the Trendline objects for a single series.

Use Trendlines(index), where index is the trendline index number, to return a single Trendline object.

The index number denotes the order in which the trendlines were added to the series. Trendlines(1) is the first trendline added to the series, and Trendlines(Trendlines.Count) is the last one added.

Show:
© 2015 Microsoft