# C1.Win.C1Chart.TrendLine.Text

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Chart_TrendLine_Text_" data-uid="C1.Win.C1Chart.TrendLine.Text*">Text Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Chart_TrendLine_Text_" data-uid="C1.Win.C1Chart.TrendLine.Text*"></a>
<h4 id="C1_Win_C1Chart_TrendLine_Text" data-uid="C1.Win.C1Chart.TrendLine.Text">Text</h4>
<div class="markdown level1 summary"><p>Gets or sets the text associated with the TrendLine shown in legend.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string Text { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Text As String</code></pre>
</div>
<h5 id="C1_Win_C1Chart_TrendLine_Text_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Text property can contains keywords that are replaced with appropriate value when rendering legend.
The keyword must be in brackets.</p>
<table><thead><tr><th class="term">Keyword</th><th class="description">Value</th></tr></thead><tbody><tr><td class="term">#DSLABEL</td><td class="description">Label of appropriate data series</td></tr><tr><td class="term">#TRENDTYPE</td><td class="description">Type of trend line</td></tr><tr><td class="term">#SHORTTRENDTYPE</td><td class="description">Short type of trend line</td></tr><tr><td class="term">#NTERMS</td><td class="description">Number of terms for regression trend line</td></tr><tr><td class="term">#PERIOD</td><td class="description">Period for moving average trend line</td></tr><tr><td class="term">#FORMULA</td><td class="description">Formula of regression equation</td></tr></tbody></table>
</div>
<h5 id="C1_Win_C1Chart_TrendLine_Text_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.Win.C1Chart.TrendLine.html">TrendLine</a></div>
</div>
</div>
