SpreadsheetGear 2017
Add Method (ITrendlines)






SpreadsheetGear.Charts Namespace > ITrendlines Interface : Add Method
Specifies the type of trendline.
Returns a new trendline.
Syntax
'Declaration
 
Function Add( _
   ByVal type As TrendlineType _
) As ITrendline
'Usage
 
Dim instance As ITrendlines
Dim type As TrendlineType
Dim value As ITrendline
 
value = instance.Add(type)
function Add( 
    type: TrendlineType
): ITrendline; 
function Add( 
   type : TrendlineType
) : ITrendline;

Parameters

type
Specifies the type of trendline.

Return Value

The new ITrendline.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ITrendlines Interface
ITrendlines Members