# C1.Web.Mvc.Chart.TrendLineFitType

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Web_Mvc_Chart_TrendLineFitType" data-uid="C1.Web.Mvc.Chart.TrendLineFitType" class="text-break">TrendLineFitType Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies whether and where the Series is visible.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Chart.html">C1.Web.Mvc.Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Web.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Chart_TrendLineFitType_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum TrendLineFitType</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum TrendLineFitType</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_Web_Mvc_Chart_TrendLineFitType_AverageX">AverageX</td>
        <td><p>The average X-value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Chart_TrendLineFitType_AverageY">AverageY</td>
        <td><p>The average Y-value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Chart_TrendLineFitType_Exponential">Exponential</td>
        <td><p>Regression fit to the equation Y(x) = a * exp(b*x).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Chart_TrendLineFitType_Fourier">Fourier</td>
        <td><p>Regression fit to the equation Y(x) = a + b * cos(x) + c * sin(x) + d * cos(2<em>x) + e * sin(2</em>x) + ...</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Chart_TrendLineFitType_Linear">Linear</td>
        <td><p>A straight line that most closely approximates the data.  Y(x) = a * x + b.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Chart_TrendLineFitType_Logarithmic">Logarithmic</td>
        <td><p>Regression fit to the equation Y(x) = a * ln(x) + b.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Chart_TrendLineFitType_MaxX">MaxX</td>
        <td><p>The maximum X-value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Chart_TrendLineFitType_MaxY">MaxY</td>
        <td><p>The maximum Y-value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Chart_TrendLineFitType_MinX">MinX</td>
        <td><p>The minimum X-value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Chart_TrendLineFitType_MinY">MinY</td>
        <td><p>The minimum Y-value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Chart_TrendLineFitType_Polynomial">Polynomial</td>
        <td><p>Regression fit to the equation Y(x) = a * x^n + b * x^n-1 + c * x^n-2 + ... + z.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Chart_TrendLineFitType_Power">Power</td>
        <td><p>Regression fit to the equation Y(x) = a * pow(x, b).</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
