# C1.Report.FlexChart.TrendLine

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Report_FlexChart_TrendLine" data-uid="C1.Report.FlexChart.TrendLine" class="text-break">TrendLine Class
</h1>
  <div class="markdown level0 summary"><p>Represents a trend line for FlexChartField.</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">OwnedObject</span></div>
    <div class="level2"><a class="xref" href="C1.Report.FlexChart.ChartObject.html">ChartObject</a></div>
    <div class="level3"><a class="xref" href="C1.Report.FlexChart.ChartNamedObject.html">ChartNamedObject</a></div>
    <div class="level4"><a class="xref" href="C1.Report.FlexChart.Series.html">Series</a></div>
    <div class="level5"><span class="xref">TrendLine</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Report.IScriptContextProvider.html">IScriptContextProvider</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Report.FlexChart.html">C1.Report.FlexChart</a></h6>
  <h6><strong>Assembly</strong>: C1.Report.dll</h6>
  <h5 id="C1_Report_FlexChart_TrendLine_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TrendLine : Series, IScriptContextProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TrendLine
    Inherits Series
    Implements IScriptContextProvider</code></pre>
  </div>
  <h5 id="C1_Report_FlexChart_TrendLine_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>A trendline is a line superimposed on a chart revealing the overall direction
of data.
You may define a different fit type for each @see:TrendLine object that you
add to the @see:FlexChart series collection by setting the fitType property.</p>
</div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Report_FlexChart_TrendLine__ctor" data-uid="C1.Report.FlexChart.TrendLine.#ctor">
          <a class="xref" href="C1.Report.FlexChart.TrendLine.-ctor.html#C1_Report_FlexChart_TrendLine__ctor">TrendLine()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of TrendLine class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_Report_FlexChart_TrendLine_Coefficients" data-uid="C1.Report.FlexChart.TrendLine.Coefficients">
          <a class="xref" href="C1.Report.FlexChart.TrendLine.Coefficients.html#C1_Report_FlexChart_TrendLine_Coefficients">Coefficients</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the coefficients of equation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_FlexChart_TrendLine_FitType" data-uid="C1.Report.FlexChart.TrendLine.FitType">
          <a class="xref" href="C1.Report.FlexChart.TrendLine.FitType.html#C1_Report_FlexChart_TrendLine_FitType">FitType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the fit type of trend line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_FlexChart_TrendLine_MaxX" data-uid="C1.Report.FlexChart.TrendLine.MaxX">
          <a class="xref" href="C1.Report.FlexChart.TrendLine.MaxX.html#C1_Report_FlexChart_TrendLine_MaxX">MaxX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximal x-value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_FlexChart_TrendLine_MinX" data-uid="C1.Report.FlexChart.TrendLine.MinX">
          <a class="xref" href="C1.Report.FlexChart.TrendLine.MinX.html#C1_Report_FlexChart_TrendLine_MinX">MinX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimal x-value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_FlexChart_TrendLine_Order" data-uid="C1.Report.FlexChart.TrendLine.Order">
          <a class="xref" href="C1.Report.FlexChart.TrendLine.Order.html#C1_Report_FlexChart_TrendLine_Order">Order</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the order of trend line. The order defines number of
terms in polynom equation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_FlexChart_TrendLine_SampleCount" data-uid="C1.Report.FlexChart.TrendLine.SampleCount">
          <a class="xref" href="C1.Report.FlexChart.TrendLine.SampleCount.html#C1_Report_FlexChart_TrendLine_SampleCount">SampleCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the sample count for function calculation.</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_Report_FlexChart_TrendLine_AssignFrom_System_Object_" data-uid="C1.Report.FlexChart.TrendLine.AssignFrom(System.Object)">
          <a class="xref" href="C1.Report.FlexChart.TrendLine.AssignFrom.html#C1_Report_FlexChart_TrendLine_AssignFrom_System_Object_">AssignFrom(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.Report.FlexChart.TrendLine.html">TrendLine</a> to the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_FlexChart_TrendLine_CopyTo_C1_Document_FlexChart_Series_" data-uid="C1.Report.FlexChart.TrendLine.CopyTo(C1.Document.FlexChart.Series)">
          <a class="xref" href="C1.Report.FlexChart.TrendLine.CopyTo.html#C1_Report_FlexChart_TrendLine_CopyTo_C1_Document_FlexChart_Series_">CopyTo(Series)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_FlexChart_TrendLine_CreateSame" data-uid="C1.Report.FlexChart.TrendLine.CreateSame">
          <a class="xref" href="C1.Report.FlexChart.TrendLine.CreateSame.html#C1_Report_FlexChart_TrendLine_CreateSame">CreateSame()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates instance of same class as this object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
