Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns whether the label will contain the R-squared value for the Trendline's equation.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public boolean ShowRSquaredValue{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public Property ShowRSquaredValue() As Boolean</p>Boolean
Remarks

The RSquared value is dynamically calculated based on the current values in the trendline's Series. Since it is dynamically calculated by Excel, the actual RSquared value is not accessible through the ExcelWriter API. This property only adjusts the visibility of the value within the trendline's label. If you wish to adjust the formatting of the RSquared value, use the Trendline.TrendlineLabel property.