# C1.WPF.C1Chart.Extended.FunctionSeries

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1Chart_Extended_FunctionSeries" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries" class="text-break">FunctionSeries Class
</h1>
  <div class="markdown level0 summary"><p>Base class for function series.</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"><span class="xref">FunctionSeries</span></div>
      <div class="level11"><a class="xref" href="C1.WPF.C1Chart.Extended.MovingAverage.html">MovingAverage</a></div>
      <div class="level11"><a class="xref" href="C1.WPF.C1Chart.Extended.ParametricFunctionSeries.html">ParametricFunctionSeries</a></div>
      <div class="level11"><a class="xref" href="C1.WPF.C1Chart.Extended.TrendLine.html">TrendLine</a></div>
      <div class="level11"><a class="xref" href="C1.WPF.C1Chart.Extended.YFunctionSeries.html">YFunctionSeries</a></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_FunctionSeries_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class FunctionSeries : XYDataSeries, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class FunctionSeries
    Inherits XYDataSeries
    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_FunctionSeries__ctor" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries.#ctor">
          <a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.-ctor.html#C1_WPF_C1Chart_Extended_FunctionSeries__ctor">FunctionSeries()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of FunctionSeries 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_FunctionSeries_MaxProperty" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries.MaxProperty">
          <a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.MaxProperty.html">MaxProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the MaxProperty dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FunctionSeries_MinProperty" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries.MinProperty">
          <a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.MinProperty.html">MinProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the MinProperty dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FunctionSeries_SampleCountProperty" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries.SampleCountProperty">
          <a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.SampleCountProperty.html">SampleCountProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the SampleCountProperty 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_FunctionSeries_Max" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries.Max">
          <a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.Max.html#C1_WPF_C1Chart_Extended_FunctionSeries_Max">Max</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum value of function parameter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FunctionSeries_Min" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries.Min">
          <a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.Min.html#C1_WPF_C1Chart_Extended_FunctionSeries_Min">Min</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimal value of function parameter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FunctionSeries_SampleCount" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries.SampleCount">
          <a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.SampleCount.html#C1_WPF_C1Chart_Extended_FunctionSeries_SampleCount">SampleCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the sample count for function calculation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FunctionSeries_ThrowException" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries.ThrowException">
          <a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.ThrowException.html#C1_WPF_C1Chart_Extended_FunctionSeries_ThrowException">ThrowException</a>
        </td>
        <td class="markdown level1 summary"><p>Whether to throw the exceptions which fire during 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_WPF_C1Chart_Extended_FunctionSeries_CalculateValue_System_Func_System_Double_System_Double__System_String_System_Double_System_String__" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries.CalculateValue(System.Func{System.Double,System.Double},System.String,System.Double,System.String@)">
          <a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.CalculateValue.html#C1_WPF_C1Chart_Extended_FunctionSeries_CalculateValue_System_Func_System_Double_System_Double__System_String_System_Double_System_String__">CalculateValue(Func&lt;double, double&gt;, string, double, out string)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculate the value of function.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FunctionSeries_FireException_System_String_" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries.FireException(System.String)">
          <a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.FireException.html#C1_WPF_C1Chart_Extended_FunctionSeries_FireException_System_String_">FireException(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Fire the exception with specified message.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FunctionSeries_GetErrorString_System_String_" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries.GetErrorString(System.String)">
          <a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.GetErrorString.html#C1_WPF_C1Chart_Extended_FunctionSeries_GetErrorString_System_String_">GetErrorString(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the error in the function code.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FunctionSeries_OnDPChanged_System_Windows_DependencyObject_System_Windows_DependencyPropertyChangedEventArgs_" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries.OnDPChanged(System.Windows.DependencyObject,System.Windows.DependencyPropertyChangedEventArgs)">
          <a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.OnDPChanged.html#C1_WPF_C1Chart_Extended_FunctionSeries_OnDPChanged_System_Windows_DependencyObject_System_Windows_DependencyPropertyChangedEventArgs_">OnDPChanged(DependencyObject, DependencyPropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when dependency property was changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FunctionSeries_UpdateData" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries.UpdateData">
          <a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.UpdateData.html#C1_WPF_C1Chart_Extended_FunctionSeries_UpdateData">UpdateData()</a>
        </td>
        <td class="markdown level1 summary"><p>Update plotted data values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_FunctionSeries_ValidateValue_System_Double_" data-uid="C1.WPF.C1Chart.Extended.FunctionSeries.ValidateValue(System.Double)">
          <a class="xref" href="C1.WPF.C1Chart.Extended.FunctionSeries.ValidateValue.html#C1_WPF_C1Chart_Extended_FunctionSeries_ValidateValue_System_Double_">ValidateValue(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Perform validation of data value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
