Nevron .NET Vision
Nevron.Chart.Functions Namespace / NFunctionCalculator Class / Expression Property
Example


In This Topic
    Expression Property
    In This Topic
    The Expression property defines the function expression or in other words the formula of the function. The expression can be constructed to represent various functions.
    Syntax
    'Declaration
     
    
    Public Property Expression As System.String
    'Usage
     
    
    Dim instance As NFunctionCalculator
    Dim value As System.String
     
    instance.Expression = value
     
    value = instance.Expression
    public System.string Expression {get; set;}
    Example
    The following code sets an expression for the ADD function with two arguments.
    barSeries1.Values.Name = "Apples";
    barSeries2.Values.Name = "Oranges";
    functionCalculator.Arguments.Clear();
    functionCalculator.Arguments.Add(barSeries1.Values);
    functionCalculator.Arguments.Add(barSeries2.Values);
    functionCalculator.Expression = "ADD(Apples ; Oranges)";
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also