# C1.Win.C1Chart.RegressionOptions

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Chart_RegressionOptions" data-uid="C1.Win.C1Chart.RegressionOptions" class="text-break">RegressionOptions Class
</h1>
  <div class="markdown level0 summary"><p>Contains options of the regression model.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">RegressionOptions</span></div>
  </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_RegressionOptions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ExpandableObjectConverter))]
public class RegressionOptions</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ExpandableObjectConverter))&gt;
Public Class RegressionOptions</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_RegressionOptions_NumTerms" data-uid="C1.Win.C1Chart.RegressionOptions.NumTerms">
          <a class="xref" href="C1.Win.C1Chart.RegressionOptions.NumTerms.html#C1_Win_C1Chart_RegressionOptions_NumTerms">NumTerms</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of terms in regression equation.  For polynomial regressions,
the number of terms indicates the order of the polynomial, i.e. NumTerms = order + 1.
Therefore, a linear regression would have NumTerms = 2.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_RegressionOptions_UseYIntercept" data-uid="C1.Win.C1Chart.RegressionOptions.UseYIntercept">
          <a class="xref" href="C1.Win.C1Chart.RegressionOptions.UseYIntercept.html#C1_Win_C1Chart_RegressionOptions_UseYIntercept">UseYIntercept</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the trend line uses YIntercept property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_RegressionOptions_YIntercept" data-uid="C1.Win.C1Chart.RegressionOptions.YIntercept">
          <a class="xref" href="C1.Win.C1Chart.RegressionOptions.YIntercept.html#C1_Win_C1Chart_RegressionOptions_YIntercept">YIntercept</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the y value of the trend line when X = 0.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
