# C1.Win.C1Chart.TrendLineTypeEnum

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_C1Chart_TrendLineTypeEnum" data-uid="C1.Win.C1Chart.TrendLineTypeEnum" class="text-break">TrendLineTypeEnum Enum
</h1>
  <div class="markdown level0 summary"><p>Use the members of this enumeration to set the value of the <a class="xref" href="C1.Win.C1Chart.TrendLine.TrendLineType.html#C1_Win_C1Chart_TrendLine_TrendLineType">TrendLineType</a>
property in the <a class="xref" href="C1.Win.C1Chart.TrendLine.html">TrendLine</a> class.</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_TrendLineTypeEnum_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum TrendLineTypeEnum</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum TrendLineTypeEnum</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Win_C1Chart_TrendLineTypeEnum_Average">Average</td>
        <td><p>Average of y data values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_TrendLineTypeEnum_Exponent">Exponent</td>
        <td><p>Regression fit to the equation Y(x) = C0 * exp( C1*x).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_TrendLineTypeEnum_Fourier">Fourier</td>
        <td><p>Regression fit to the equation Y(x) = C0 + C1 * cos(x) + C2 * sin(x) + C3 * cos(2<em>x) + C4 * sin(2</em>x) + …</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_TrendLineTypeEnum_Logarithmic">Logarithmic</td>
        <td><p>Regression fit to the equation Y(x) = C0 * ln(C1*x).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_TrendLineTypeEnum_Maximum">Maximum</td>
        <td><p>Maximum of y data values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_TrendLineTypeEnum_Minimum">Minimum</td>
        <td><p>Minimum of y data values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_TrendLineTypeEnum_MovingAverage">MovingAverage</td>
        <td><p>Moving average of y data values Yi = ( yi + yi-1 + yi-2 + … + yi-p+1 ) / p, where p – period.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_TrendLineTypeEnum_Polynom">Polynom</td>
        <td><p>Regression fit to the equation Y(x) = C0 + C1<em>x + C2</em>x2 + … + Cn-1*xn-1, where n – number of terms.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_TrendLineTypeEnum_Power">Power</td>
        <td><p>Regression fit to the equation Y(x) = C0 * x C1.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
