# C1.WPF.C1Chart.Extended.TrendLine

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1Chart_Extended_TrendLine" data-uid="C1.WPF.C1Chart.Extended.TrendLine" class="text-break">TrendLine Class
</h1>
  <div class="markdown level0 summary"><p>Represents trend line.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.panel">Panel</a></div>
    <div class="level7"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.canvas">Canvas</a></div>
    <div class="level8"><a class="xref" href="../C1.WPF.C1Chart.4.6.2/C1.WPF.C1Chart.DataSeries.html">DataSeries</a></div>
    <div class="level9"><a class="xref" href="../C1.WPF.C1Chart.4.6.2/C1.WPF.C1Chart.XYDataSeries.html">XYDataSeries</a></div>
    <div class="level10"><a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.html">FunctionSeries</a></div>
    <div class="level11"><span class="xref">TrendLine</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iaddchild">IAddChild</a></div>
  </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_TrendLine_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TrendLine : FunctionSeries, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TrendLine
    Inherits FunctionSeries
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </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_WPF_C1Chart_Extended_TrendLine__ctor" data-uid="C1.WPF.C1Chart.Extended.TrendLine.#ctor">
          <a class="xref" href="C1.WPF.C1Chart.Extended.TrendLine.-ctor.html#C1_WPF_C1Chart_Extended_TrendLine__ctor">TrendLine()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of TrendLine class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_TrendLine_FitTypeProperty" data-uid="C1.WPF.C1Chart.Extended.TrendLine.FitTypeProperty">
          <a class="xref" href="C1.WPF.C1Chart.Extended.TrendLine.FitTypeProperty.html">FitTypeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the FitTypeProperty dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_TrendLine_OrderProperty" data-uid="C1.WPF.C1Chart.Extended.TrendLine.OrderProperty">
          <a class="xref" href="C1.WPF.C1Chart.Extended.TrendLine.OrderProperty.html">OrderProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the OrderProperty dependency property.</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_WPF_C1Chart_Extended_TrendLine_Coefficients" data-uid="C1.WPF.C1Chart.Extended.TrendLine.Coefficients">
          <a class="xref" href="C1.WPF.C1Chart.Extended.TrendLine.Coefficients.html#C1_WPF_C1Chart_Extended_TrendLine_Coefficients">Coefficients</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the coefficients of equation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_TrendLine_FitType" data-uid="C1.WPF.C1Chart.Extended.TrendLine.FitType">
          <a class="xref" href="C1.WPF.C1Chart.Extended.TrendLine.FitType.html#C1_WPF_C1Chart_Extended_TrendLine_FitType">FitType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the fit type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_TrendLine_Order" data-uid="C1.WPF.C1Chart.Extended.TrendLine.Order">
          <a class="xref" href="C1.WPF.C1Chart.Extended.TrendLine.Order.html#C1_WPF_C1Chart_Extended_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>
    </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_WPF_C1Chart_Extended_TrendLine_Aproximate_System_Double_" data-uid="C1.WPF.C1Chart.Extended.TrendLine.Aproximate(System.Double)">
          <a class="xref" href="C1.WPF.C1Chart.Extended.TrendLine.Aproximate.html#C1_WPF_C1Chart_Extended_TrendLine_Aproximate_System_Double_">Aproximate(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the calculated(predicted) trend line value that corresponds to specified argument.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_TrendLine_OnOrderChanged_System_Windows_DependencyObject_System_Windows_DependencyPropertyChangedEventArgs_" data-uid="C1.WPF.C1Chart.Extended.TrendLine.OnOrderChanged(System.Windows.DependencyObject,System.Windows.DependencyPropertyChangedEventArgs)">
          <a class="xref" href="C1.WPF.C1Chart.Extended.TrendLine.OnOrderChanged.html#C1_WPF_C1Chart_Extended_TrendLine_OnOrderChanged_System_Windows_DependencyObject_System_Windows_DependencyPropertyChangedEventArgs_">OnOrderChanged(DependencyObject, DependencyPropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when order has been changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_TrendLine_ProcessValues_System_Double_0__0___" data-uid="C1.WPF.C1Chart.Extended.TrendLine.ProcessValues(System.Double[0:,0:])">
          <a class="xref" href="C1.WPF.C1Chart.Extended.TrendLine.ProcessValues.html#C1_WPF_C1Chart_Extended_TrendLine_ProcessValues_System_Double_0__0___">ProcessValues(double[,])</a>
        </td>
        <td class="markdown level1 summary"><p>Perform the processing of data values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_TrendLine_UpdateData" data-uid="C1.WPF.C1Chart.Extended.TrendLine.UpdateData">
          <a class="xref" href="C1.WPF.C1Chart.Extended.TrendLine.UpdateData.html#C1_WPF_C1Chart_Extended_TrendLine_UpdateData">UpdateData()</a>
        </td>
        <td class="markdown level1 summary"><p>Update plotted data values.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
