Shows/hides trend lines.
Syntax
| Visual Basic (Declaration) | |
|---|
Function DrawTrend( _
ByVal show As System.Boolean _
) As ILayoutActions |
Parameters
- show
- Determines whether trend lines must be shown or not.
Return Value
A reference to this instance after the operation has completed.
Remarks
Example
The following example shows how to display trend lines built on polynomial of the third degree.
| C# | Copy Code |
|---|
using (ILayoutActions la = pivotView.BeginLayoutUpdate("Show trend lines")){
la.DrawTrend(true);
la.SetPolynomialTrend(3, TrendOptions.Default);
la.Commit();
} |
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