Page tree

Versions Compared

Key

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

Description

Excerpt

Returns a ChartText object representing a trendline label.

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 ChartText TrendlineLabel{ get; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public ReadOnly Property TrendlineLabel() As ChartText</p>ChartText
Remarks

The contents of the Trendline label are generally controlled through the Trendline.ShowEquation and Trendline.ShowRSquaredValue values. The default text can be overridden in .xlsx with the ChartText.Text property in the TrendlineLabel object. Starting in OfficeWriter 8.7 you can override the text in .xls files as well. You can also use this property to manipulate the formatting of the label.