# C1.Win.C1Chart.TrendLine.CustomTrendLine

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Chart_TrendLine_CustomTrendLine_" data-uid="C1.Win.C1Chart.TrendLine.CustomTrendLine*">CustomTrendLine Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Chart_TrendLine_CustomTrendLine_" data-uid="C1.Win.C1Chart.TrendLine.CustomTrendLine*"></a>
<h4 id="C1_Win_C1Chart_TrendLine_CustomTrendLine" data-uid="C1.Win.C1Chart.TrendLine.CustomTrendLine">CustomTrendLine</h4>
<div class="markdown level1 summary"><p>Gets or sets the object that provides a user-defined calculation of the TrendLine.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public ICustomTrendLine CustomTrendLine { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public Property CustomTrendLine As ICustomTrendLine</code></pre>
</div>
<h5 id="C1_Win_C1Chart_TrendLine_CustomTrendLine_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>To obtain complete control of the TrendLine calculations, a class inheriting from
<a class="xref" href="C1.Win.C1Chart.ICustomTrendLine.html">ICustomTrendLine</a> can be implemented and instantiated.
After the CustomTrendLine property is set to an instance of such an object,
the chart will plot the user-defined <a class="xref" href="C1.Win.C1Chart.TrendLine.html">TrendLine</a>
with the appropriate styles and legend entry.</p>
</div>
<h5 id="C1_Win_C1Chart_TrendLine_CustomTrendLine_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.Win.C1Chart.TrendLine.html">TrendLine</a></div>
</div>
</div>
