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