# C1.Win.C1Chart.ParametricFunction

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Chart_ParametricFunction" data-uid="C1.Win.C1Chart.ParametricFunction" class="text-break">ParametricFunction Class
</h1>
  <div class="markdown level0 summary"><p>Represents a function defined by  a pair of equations, x(t) = f1(t) and y(t) = f2(t),
where t is an independent variable.</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="C1.Win.C1Chart.FunctionBase.html">FunctionBase</a></div>
    <div class="level2"><span class="xref">ParametricFunction</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></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_ParametricFunction_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ParametricFunction : FunctionBase, IDisposable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ParametricFunction
    Inherits FunctionBase
    Implements IDisposable, ICloneable</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_Win_C1Chart_ParametricFunction__ctor" data-uid="C1.Win.C1Chart.ParametricFunction.#ctor">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.-ctor.html#C1_Win_C1Chart_ParametricFunction__ctor">ParametricFunction()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.C1Chart.ParametricFunction.html">ParametricFunction</a> class.
This constructor is equivalent to ParametricFunction(true).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction__ctor_System_Boolean_" data-uid="C1.Win.C1Chart.ParametricFunction.#ctor(System.Boolean)">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.-ctor.html#C1_Win_C1Chart_ParametricFunction__ctor_System_Boolean_">ParametricFunction(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.C1Chart.ParametricFunction.html">ParametricFunction</a> class.</p>
<param name="Disposable">
Specifies whether the ParametricFunction object should be created in a way that allows the
compiled functions (in-memory assemblies) be unloaded.

<remarks>
When the Disposable parameter is true, an in-memory assembly is created
another AppDomain which is unloaded from the application when the ParametricFunction
object goes out of scope.  If the Disposable parameter is false, then the in-memory
created assemblies cannot be unloaded until the application is terminated. Note
that an AppDomain is used only if the current permission set allows.  Web applications
always create function assemblies in the current AppDomain.
</remarks>
</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_Win_C1Chart_ParametricFunction_CodeLinesX" data-uid="C1.Win.C1Chart.ParametricFunction.CodeLinesX">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.CodeLinesX.html#C1_Win_C1Chart_ParametricFunction_CodeLinesX">CodeLinesX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the multi-line presentation of the function code for the x value calculation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_CodeLinesY" data-uid="C1.Win.C1Chart.ParametricFunction.CodeLinesY">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.CodeLinesY.html#C1_Win_C1Chart_ParametricFunction_CodeLinesY">CodeLinesY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the multi-line presentation of the function code for the y value calculation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_CodeTextX" data-uid="C1.Win.C1Chart.ParametricFunction.CodeTextX">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.CodeTextX.html#C1_Win_C1Chart_ParametricFunction_CodeTextX">CodeTextX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the function code for the x value calculation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_CodeTextY" data-uid="C1.Win.C1Chart.ParametricFunction.CodeTextY">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.CodeTextY.html#C1_Win_C1Chart_ParametricFunction_CodeTextY">CodeTextY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the function code for the y value calculation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_CodeValid" data-uid="C1.Win.C1Chart.ParametricFunction.CodeValid">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.CodeValid.html#C1_Win_C1Chart_ParametricFunction_CodeValid">CodeValid</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the function compiles correctly.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_CustomFunctionX" data-uid="C1.Win.C1Chart.ParametricFunction.CustomFunctionX">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.CustomFunctionX.html#C1_Win_C1Chart_ParametricFunction_CustomFunctionX">CustomFunctionX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a custom function object for the x value calculation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_CustomFunctionY" data-uid="C1.Win.C1Chart.ParametricFunction.CustomFunctionY">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.CustomFunctionY.html#C1_Win_C1Chart_ParametricFunction_CustomFunctionY">CustomFunctionY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the custom function object for the y value calculation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_Max" data-uid="C1.Win.C1Chart.ParametricFunction.Max">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.Max.html#C1_Win_C1Chart_ParametricFunction_Max">Max</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum value of the axis.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_MaxT" data-uid="C1.Win.C1Chart.ParametricFunction.MaxT">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.MaxT.html#C1_Win_C1Chart_ParametricFunction_MaxT">MaxT</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum parameter value when plotting the function.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_Min" data-uid="C1.Win.C1Chart.ParametricFunction.Min">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.Min.html#C1_Win_C1Chart_ParametricFunction_Min">Min</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum value of the axis.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_MinT" data-uid="C1.Win.C1Chart.ParametricFunction.MinT">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.MinT.html#C1_Win_C1Chart_ParametricFunction_MinT">MinT</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum parameter value when plotting the function.</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_Win_C1Chart_ParametricFunction_GetPoints_System_Boolean_" data-uid="C1.Win.C1Chart.ParametricFunction.GetPoints(System.Boolean)">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.GetPoints.html#C1_Win_C1Chart_ParametricFunction_GetPoints_System_Boolean_">GetPoints(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the calulated Y points of chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_GetX_System_Double_" data-uid="C1.Win.C1Chart.ParametricFunction.GetX(System.Double)">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.GetX.html#C1_Win_C1Chart_ParametricFunction_GetX_System_Double_">GetX(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the x value of function at specified parameter t.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_GetXValues_System_Double___" data-uid="C1.Win.C1Chart.ParametricFunction.GetXValues(System.Double[])">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.GetXValues.html#C1_Win_C1Chart_ParametricFunction_GetXValues_System_Double___">GetXValues(double[])</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the x values of the function at specified t values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_GetY_System_Double_" data-uid="C1.Win.C1Chart.ParametricFunction.GetY(System.Double)">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.GetY.html#C1_Win_C1Chart_ParametricFunction_GetY_System_Double_">GetY(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the y value of function at specified parameter t.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_GetYValues_System_Double___" data-uid="C1.Win.C1Chart.ParametricFunction.GetYValues(System.Double[])">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.GetYValues.html#C1_Win_C1Chart_ParametricFunction_GetYValues_System_Double___">GetYValues(double[])</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the y values of the function at specified t values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_Recompile" data-uid="C1.Win.C1Chart.ParametricFunction.Recompile">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.Recompile.html#C1_Win_C1Chart_ParametricFunction_Recompile">Recompile()</a>
        </td>
        <td class="markdown level1 summary"><p>The code will be compiled as formula, a method or as full compile unit.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_ParametricFunction_CalculateX" data-uid="C1.Win.C1Chart.ParametricFunction.CalculateX">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.CalculateX.html">CalculateX</a>
        </td>
        <td class="markdown level1 summary"><p>Fires when the x value is calculated.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ParametricFunction_CalculateY" data-uid="C1.Win.C1Chart.ParametricFunction.CalculateY">
          <a class="xref" href="C1.Win.C1Chart.ParametricFunction.CalculateY.html">CalculateY</a>
        </td>
        <td class="markdown level1 summary"><p>Fires when the y value is calculated.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
