Compartilhar via


Trendline.DisplayEquation Property

True if the equation for the trendline is displayed on the chart (in the same data label as the R-squared value). Setting this property to True automatically turns on data labels.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property DisplayEquation As Boolean
    Get
    Set
'Usage
Dim instance As Trendline
Dim value As Boolean

value = instance.DisplayEquation

instance.DisplayEquation = value
bool DisplayEquation { get; set; }

Property Value

Type: System.Boolean

See Also

Reference

Trendline Interface

Trendline Members

Microsoft.Office.Interop.Excel Namespace