# C1.Win.C1Chart.FunctionBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Chart_FunctionBase" data-uid="C1.Win.C1Chart.FunctionBase" class="text-break">FunctionBase Class
</h1>
  <div class="markdown level0 summary"><p>Abstract base class for all functions.</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">FunctionBase</span></div>
      <div class="level2"><a class="xref" href="C1.Win.C1Chart.ParametricFunction.html">ParametricFunction</a></div>
      <div class="level2"><a class="xref" href="C1.Win.C1Chart.YFunction.html">YFunction</a></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>
  <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_FunctionBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class FunctionBase : IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class FunctionBase
    Implements IDisposable</code></pre>
  </div>
  <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_Win_C1Chart_FunctionBase__byProxy" data-uid="C1.Win.C1Chart.FunctionBase._byProxy">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase._byProxy.html">_byProxy</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_m_codeLang" data-uid="C1.Win.C1Chart.FunctionBase.m_codeLang">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.m_codeLang.html">m_codeLang</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_m_codeType" data-uid="C1.Win.C1Chart.FunctionBase.m_codeType">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.m_codeType.html">m_codeType</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_m_legendEntry" data-uid="C1.Win.C1Chart.FunctionBase.m_legendEntry">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.m_legendEntry.html">m_legendEntry</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_m_lstyle" data-uid="C1.Win.C1Chart.FunctionBase.m_lstyle">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.m_lstyle.html">m_lstyle</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_m_method" data-uid="C1.Win.C1Chart.FunctionBase.m_method">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.m_method.html">m_method</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_m_npoints" data-uid="C1.Win.C1Chart.FunctionBase.m_npoints">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.m_npoints.html">m_npoints</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_m_overData" data-uid="C1.Win.C1Chart.FunctionBase.m_overData">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.m_overData.html">m_overData</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_m_text" data-uid="C1.Win.C1Chart.FunctionBase.m_text">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.m_text.html">m_text</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_m_visible" data-uid="C1.Win.C1Chart.FunctionBase.m_visible">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.m_visible.html">m_visible</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_Win_C1Chart_FunctionBase_CodeErrors" data-uid="C1.Win.C1Chart.FunctionBase.CodeErrors">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.CodeErrors.html#C1_Win_C1Chart_FunctionBase_CodeErrors">CodeErrors</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the string descriptions of any compiler errors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_CodeLanguage" data-uid="C1.Win.C1Chart.FunctionBase.CodeLanguage">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.CodeLanguage.html#C1_Win_C1Chart_FunctionBase_CodeLanguage">CodeLanguage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the programming language used for compiling (C# or VB).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_CodeType" data-uid="C1.Win.C1Chart.FunctionBase.CodeType">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.CodeType.html#C1_Win_C1Chart_FunctionBase_CodeType">CodeType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the code will be compiled as formula, a method or as full compile unit.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_CodeValid" data-uid="C1.Win.C1Chart.FunctionBase.CodeValid">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.CodeValid.html#C1_Win_C1Chart_FunctionBase_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_FunctionBase_ErrorList" data-uid="C1.Win.C1Chart.FunctionBase.ErrorList">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.ErrorList.html#C1_Win_C1Chart_FunctionBase_ErrorList">ErrorList</a>
        </td>
        <td class="markdown level1 summary"><p>The array of errors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_Label" data-uid="C1.Win.C1Chart.FunctionBase.Label">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.Label.html#C1_Win_C1Chart_FunctionBase_Label">Label</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the label of the function.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_LegendEntry" data-uid="C1.Win.C1Chart.FunctionBase.LegendEntry">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.LegendEntry.html#C1_Win_C1Chart_FunctionBase_LegendEntry">LegendEntry</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the function will be shown in legend.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_LineStyle" data-uid="C1.Win.C1Chart.FunctionBase.LineStyle">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.LineStyle.html#C1_Win_C1Chart_FunctionBase_LineStyle">LineStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the line style used for plotting the function.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_PlotLinesMethod" data-uid="C1.Win.C1Chart.FunctionBase.PlotLinesMethod">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.PlotLinesMethod.html#C1_Win_C1Chart_FunctionBase_PlotLinesMethod">PlotLinesMethod</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the method used for plotting the function.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_PlotNumPoints" data-uid="C1.Win.C1Chart.FunctionBase.PlotNumPoints">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.PlotNumPoints.html#C1_Win_C1Chart_FunctionBase_PlotNumPoints">PlotNumPoints</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of points used when plotting the function.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_PlotOverData" data-uid="C1.Win.C1Chart.FunctionBase.PlotOverData">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.PlotOverData.html#C1_Win_C1Chart_FunctionBase_PlotOverData">PlotOverData</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the function is plotted over or behind data series plots.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_Visible" data-uid="C1.Win.C1Chart.FunctionBase.Visible">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.Visible.html#C1_Win_C1Chart_FunctionBase_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the function plot is visible.</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_FunctionBase_CalcFunction_System_Double_C1_Win_C1Chart_ISimpleFunction_System_Object_C1_Win_C1Chart_CalculateFunctionEventHandler_" data-uid="C1.Win.C1Chart.FunctionBase.CalcFunction(System.Double,C1.Win.C1Chart.ISimpleFunction,System.Object,C1.Win.C1Chart.CalculateFunctionEventHandler)">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.CalcFunction.html#C1_Win_C1Chart_FunctionBase_CalcFunction_System_Double_C1_Win_C1Chart_ISimpleFunction_System_Object_C1_Win_C1Chart_CalculateFunctionEventHandler_">CalcFunction(double, ISimpleFunction, object, CalculateFunctionEventHandler)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the value of the function at the specified parameter value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_CalcFunction_System_Double___C1_Win_C1Chart_ISimpleFunction_System_Object_C1_Win_C1Chart_CalculateFunctionEventHandler_" data-uid="C1.Win.C1Chart.FunctionBase.CalcFunction(System.Double[],C1.Win.C1Chart.ISimpleFunction,System.Object,C1.Win.C1Chart.CalculateFunctionEventHandler)">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.CalcFunction.html#C1_Win_C1Chart_FunctionBase_CalcFunction_System_Double___C1_Win_C1Chart_ISimpleFunction_System_Object_C1_Win_C1Chart_CalculateFunctionEventHandler_">CalcFunction(double[], ISimpleFunction, object, CalculateFunctionEventHandler)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the value of the function at the specified parameter value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_ConvertPoint_System_Double_System_Double_" data-uid="C1.Win.C1Chart.FunctionBase.ConvertPoint(System.Double,System.Double)">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.ConvertPoint.html#C1_Win_C1Chart_FunctionBase_ConvertPoint_System_Double_System_Double_">ConvertPoint(double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the client coordinates of a point in the PlotArea given data coordinates.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_CreateFunction_System_String_System_String_System_String_" data-uid="C1.Win.C1Chart.FunctionBase.CreateFunction(System.String,System.String,System.String)">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.CreateFunction.html#C1_Win_C1Chart_FunctionBase_CreateFunction_System_String_System_String_System_String_">CreateFunction(string, string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates user function.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_Dispose" data-uid="C1.Win.C1Chart.FunctionBase.Dispose">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.Dispose.html#C1_Win_C1Chart_FunctionBase_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Perform general cleanup.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_GetPoints_System_Boolean_" data-uid="C1.Win.C1Chart.FunctionBase.GetPoints(System.Boolean)">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.GetPoints.html#C1_Win_C1Chart_FunctionBase_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_FunctionBase_LinesToText_System_String___" data-uid="C1.Win.C1Chart.FunctionBase.LinesToText(System.String[])">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.LinesToText.html#C1_Win_C1Chart_FunctionBase_LinesToText_System_String___">LinesToText(string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Converts an array of strings to a newline-delimited string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_Recompile" data-uid="C1.Win.C1Chart.FunctionBase.Recompile">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.Recompile.html#C1_Win_C1Chart_FunctionBase_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>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_TextToLines_System_String_" data-uid="C1.Win.C1Chart.FunctionBase.TextToLines(System.String)">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.TextToLines.html#C1_Win_C1Chart_FunctionBase_TextToLines_System_String_">TextToLines(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a newline-delimited string to an array of strings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_FunctionBase_ToString" data-uid="C1.Win.C1Chart.FunctionBase.ToString">
          <a class="xref" href="C1.Win.C1Chart.FunctionBase.ToString.html#C1_Win_C1Chart_FunctionBase_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
