# C1.WPF.C1Chart.Extended.FitType

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_WPF_C1Chart_Extended_FitType" data-uid="C1.WPF.C1Chart.Extended.FitType" class="text-break">FitType Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies fit type for trend line.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.C1Chart.Extended.html">C1.WPF.C1Chart.Extended</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.C1Chart.Extended.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1Chart_Extended_FitType_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum FitType</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum FitType</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_WPF_C1Chart_Extended_FitType_AverageX">AverageX</td>
        <td><p>Line at average x-data value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FitType_AverageY">AverageY</td>
        <td><p>Line at average y-data value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FitType_Exponent">Exponent</td>
        <td><p>Regression fit to the equation Y(x) = C0 * exp( C1*x)</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FitType_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_WPF_C1Chart_Extended_FitType_Logarithmic">Logarithmic</td>
        <td><p>Regression fit to the equation Y(x) = C0 * ln(C1*x)</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FitType_MaxX">MaxX</td>
        <td><p>Line at maximum x-data value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FitType_MaxY">MaxY</td>
        <td><p>Line at maximum y-data value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FitType_MinX">MinX</td>
        <td><p>Line at minimal x-data value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FitType_MinY">MinY</td>
        <td><p>Line at minimal y-data value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FitType_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_WPF_C1Chart_Extended_FitType_Power">Power</td>
        <td><p>Regression fit to the equation Y(x) = C0 * pow(x, C1)</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
