TrendlineCollection.Add

Add(TrendlineType)

Adds a Trendline object to this collection with specified type.

public int Add(TrendlineType type)
ParameterTypeDescription
typeTrendlineTypeTrendline type.

Return Value

Trendline object index.

See Also


Add(TrendlineType, string)

Adds a Trendline object to this collection with specified type and name.

public int Add(TrendlineType type, string name)
ParameterTypeDescription
typeTrendlineTypeTrendline type.
nameStringTrendline name.

Return Value

Trendline object index.

See Also