ComponentOne Chart for WPF and Silverlight
C1.WPF.C1Chart.Extended Namespace / TrendLine Class / CalculateValue Method


In This Topic
    CalculateValue Method (TrendLine)
    In This Topic
    Calculate the value of function.
    Syntax
    'Declaration
     
    
    Protected Function CalculateValue( _
       ByVal func As Func(Of Double,Double), _
       ByVal funcJS As String, _
       ByVal parameter As Double, _
       ByRef errmsg As String _
    ) As Double
    'Usage
     
    
    Dim instance As TrendLine
    Dim func As Func(Of Double,Double)
    Dim funcJS As String
    Dim parameter As Double
    Dim errmsg As String
    Dim value As Double
     
    value = instance.CalculateValue(func, funcJS, parameter, errmsg)

    Parameters

    func
    funcJS
    parameter
    errmsg
    See Also