[]
        
(Showing Draft Content)

C1.Win.C1Chart.FunctionBase

FunctionBase Class

Abstract base class for all functions.

Inheritance
FunctionBase
Implements
Namespace: C1.Win.C1Chart
Assembly: C1.Win.C1Chart.4.8.dll
Syntax
public abstract class FunctionBase : IDisposable

Fields

Name Description
_byProxy
m_codeLang
m_codeType
m_legendEntry
m_lstyle
m_method
m_npoints
m_overData
m_text
m_visible

Properties

Name Description
CodeErrors

Gets the string descriptions of any compiler errors.

CodeLanguage

Gets or sets the programming language used for compiling (C# or VB).

CodeType

Gets or sets whether the code will be compiled as formula, a method or as full compile unit.

CodeValid

Gets whether the function compiles correctly.

ErrorList

The array of errors.

Label

Gets or sets the label of the function.

LegendEntry

Gets or sets whether the function will be shown in legend.

LineStyle

Gets or sets the line style used for plotting the function.

PlotLinesMethod

Gets or sets the method used for plotting the function.

PlotNumPoints

Gets or sets the number of points used when plotting the function.

PlotOverData

Gets or sets whether the function is plotted over or behind data series plots.

Visible

Gets or sets whether the function plot is visible.

Methods

Name Description
CalcFunction(double, ISimpleFunction, object, CalculateFunctionEventHandler)

Calculates the value of the function at the specified parameter value.

CalcFunction(double[], ISimpleFunction, object, CalculateFunctionEventHandler)

Calculates the value of the function at the specified parameter value.

ConvertPoint(double, double)

Calculates the client coordinates of a point in the PlotArea given data coordinates.

CreateFunction(string, string, string)

Calculates user function.

Dispose()

Perform general cleanup.

GetPoints(bool)

Gets the calulated Y points of chart.

LinesToText(string[])

Converts an array of strings to a newline-delimited string.

Recompile()

The code will be compiled as formula, a method or as full compile unit.

TextToLines(string)

Converts a newline-delimited string to an array of strings.

ToString()