# C1.WPF.C1Chart.Extended.YFunctionSeries

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1Chart_Extended_YFunctionSeries" data-uid="C1.WPF.C1Chart.Extended.YFunctionSeries" class="text-break">YFunctionSeries Class
</h1>
  <div class="markdown level0 summary"><p>Represents y=f(x) function.</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">YFunctionSeries</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_YFunctionSeries_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class YFunctionSeries : FunctionSeries, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class YFunctionSeries
    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_YFunctionSeries__ctor" data-uid="C1.WPF.C1Chart.Extended.YFunctionSeries.#ctor">
          <a class="xref" href="C1.WPF.C1Chart.Extended.YFunctionSeries.-ctor.html#C1_WPF_C1Chart_Extended_YFunctionSeries__ctor">YFunctionSeries()</a>
        </td>
        <td class="markdown level1 summary"></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_YFunctionSeries_Function" data-uid="C1.WPF.C1Chart.Extended.YFunctionSeries.Function">
          <a class="xref" href="C1.WPF.C1Chart.Extended.YFunctionSeries.Function.html#C1_WPF_C1Chart_Extended_YFunctionSeries_Function">Function</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the delegate that defines function.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_YFunctionSeries_FunctionCode" data-uid="C1.WPF.C1Chart.Extended.YFunctionSeries.FunctionCode">
          <a class="xref" href="C1.WPF.C1Chart.Extended.YFunctionSeries.FunctionCode.html#C1_WPF_C1Chart_Extended_YFunctionSeries_FunctionCode">FunctionCode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the function code(JavaScript).</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_Extended_YFunctionSeries_FunctionCodeError" data-uid="C1.WPF.C1Chart.Extended.YFunctionSeries.FunctionCodeError">
          <a class="xref" href="C1.WPF.C1Chart.Extended.YFunctionSeries.FunctionCodeError.html#C1_WPF_C1Chart_Extended_YFunctionSeries_FunctionCodeError">FunctionCodeError</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the error text which was returned after evaluating FunctionCode
expression. Returns empty string if the code was evaluated without
errors or FunctionCode property value is empty.</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_YFunctionSeries_UpdateData" data-uid="C1.WPF.C1Chart.Extended.YFunctionSeries.UpdateData">
          <a class="xref" href="C1.WPF.C1Chart.Extended.YFunctionSeries.UpdateData.html#C1_WPF_C1Chart_Extended_YFunctionSeries_UpdateData">UpdateData()</a>
        </td>
        <td class="markdown level1 summary"><p>Update plotted data values.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
