Skip to content

Class ExcelChartTrendlineCollection

Namespace: OfficeOpenXml.Drawing.Chart
Assembly: EPPlus.dll

A collection of trendlines.

public class ExcelChartTrendlineCollection : IEnumerable<ExcelChartTrendline>, IEnumerable

Inheritance

object ← ExcelChartTrendlineCollection

Implements

IEnumerable
IEnumerable<ExcelChartTrendline>

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

Count

Number of items in the collection.

public int Count { get; }

Property Value

int

this[int]

Returns a chart trendline at the specific position.

public ExcelChartTrendline this[int index] { get; }

Property Value

ExcelChartTrendline

Methods

Add(eTrendLine)

Add a new trendline

public ExcelChartTrendline Add(eTrendLine Type)

Parameters

Type eTrendLine

Returns

ExcelChartTrendline

The trendline