|
|
Programmer's Reference >
ExcelApplication API >
Trendlines > CreateTrendline
CreateTrendline Method
Signature:
public Trendline CreateTrendline ( Trendline.Regression type
)
Description:
Creates a new Trendline object that is automatically added to the Trendlines collection.
Parameters:
|
type |
One of the following Trendline.Regression : Exponential , Logarithmic , MovingAverage , Polynomial , Power . |
Returns:
Trendline
A Trendline object representing a new trendline.
Example:
[csharp]
Trendline PowerTrendline = oTrendlines.CreateTrendline(Trendline.Regression.Power);

Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.
|
|
|