Compartilhar via


Trendline.DisplayRSquared Property

True if the R-squared value of the trendline is displayed on the chart (in the same data label as the equation). 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 DisplayRSquared As Boolean
    Get
    Set
'Usage
Dim instance As Trendline
Dim value As Boolean

value = instance.DisplayRSquared

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

Property Value

Type: System.Boolean

See Also

Reference

Trendline Interface

Trendline Members

Microsoft.Office.Interop.Excel Namespace