# C1.Win.C1Chart.ICustomTrendLine

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Chart_ICustomTrendLine" data-uid="C1.Win.C1Chart.ICustomTrendLine" class="text-break">ICustomTrendLine Interface
</h1>
  <div class="markdown level0 summary"><p>Provides interface for implementing a user-defined TrendLine.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Chart.html">C1.Win.C1Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Chart.4.8.dll</h6>
  <h5 id="C1_Win_C1Chart_ICustomTrendLine_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ICustomTrendLine</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ICustomTrendLine</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_C1Chart_ICustomTrendLine_Text" data-uid="C1.Win.C1Chart.ICustomTrendLine.Text">
          <a class="xref" href="C1.Win.C1Chart.ICustomTrendLine.Text.html#C1_Win_C1Chart_ICustomTrendLine_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the text associated with the TrendLine shown in legend.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_C1Chart_ICustomTrendLine_Calculate_C1_Win_C1Chart_TrendLine_System_Double___System_Double___" data-uid="C1.Win.C1Chart.ICustomTrendLine.Calculate(C1.Win.C1Chart.TrendLine,System.Double[],System.Double[])">
          <a class="xref" href="C1.Win.C1Chart.ICustomTrendLine.Calculate.html#C1_Win_C1Chart_ICustomTrendLine_Calculate_C1_Win_C1Chart_TrendLine_System_Double___System_Double___">Calculate(TrendLine, double[], double[])</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the points of the TrendLine to be plotted, the X values and Y values must be returned by
<a class="xref" href="C1.Win.C1Chart.ICustomTrendLine.GetXValues.html#C1_Win_C1Chart_ICustomTrendLine_GetXValues">GetXValues()</a> and
<a class="xref" href="C1.Win.C1Chart.ICustomTrendLine.GetYValues.html#C1_Win_C1Chart_ICustomTrendLine_GetYValues">GetYValues()</a> methods.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ICustomTrendLine_GetXValues" data-uid="C1.Win.C1Chart.ICustomTrendLine.GetXValues">
          <a class="xref" href="C1.Win.C1Chart.ICustomTrendLine.GetXValues.html#C1_Win_C1Chart_ICustomTrendLine_GetXValues">GetXValues()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an array that contains the X values of the TrendLine.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ICustomTrendLine_GetY_System_Double_" data-uid="C1.Win.C1Chart.ICustomTrendLine.GetY(System.Double)">
          <a class="xref" href="C1.Win.C1Chart.ICustomTrendLine.GetY.html#C1_Win_C1Chart_ICustomTrendLine_GetY_System_Double_">GetY(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the value of the TrendLine at specified X value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ICustomTrendLine_GetYValues" data-uid="C1.Win.C1Chart.ICustomTrendLine.GetYValues">
          <a class="xref" href="C1.Win.C1Chart.ICustomTrendLine.GetYValues.html#C1_Win_C1Chart_ICustomTrendLine_GetYValues">GetYValues()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an array that contains the Y values of the TrendLine.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
