Class ExcelChartTrendlineCollection
A collection of trendlines.
Inherited Members
Namespace: OfficeOpenXml.Drawing.Chart
Assembly: EPPlus.dll
Syntax
public class ExcelChartTrendlineCollection : IEnumerable<ExcelChartTrendline>, IEnumerable
Properties
Count
Number of items in the collection.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Returns a chart trendline at the specific position.
Declaration
public ExcelChartTrendline this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index in the collection. 0-base |
Property Value
| Type | Description |
|---|---|
| ExcelChartTrendline |
Methods
Add(eTrendLine)
Add a new trendline
Declaration
public ExcelChartTrendline Add(eTrendLine Type)
Parameters
| Type | Name | Description |
|---|---|---|
| eTrendLine | Type |
Returns
| Type | Description |
|---|---|
| ExcelChartTrendline | The trendline |