Table of Contents

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

int

this[int]

Returns a chart trendline at the specific position.

public ExcelChartTrendline this[int index] { get; }

Parameters

index int

The index in the collection. 0-base

Property Value

ExcelChartTrendline

Methods

Add(eTrendLine)

Add a new trendline

public ExcelChartTrendline Add(eTrendLine Type)

Parameters

Type eTrendLine

Returns

ExcelChartTrendline

The trendline