ComponentOne FinancialChart for WPF
C1.Chart Namespace / TrendLineCalculator Class / Calculate Method



In This Topic
    Calculate Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Function Calculate( _
       ByVal xvals() As Double, _
       ByVal yvals() As Double _
    ) As Boolean
    'Usage
     
    
    Dim instance As TrendLineCalculator
    Dim xvals() As Double
    Dim yvals() As Double
    Dim value As Boolean
     
    value = instance.Calculate(xvals, yvals)
    public bool Calculate( 
       double[] xvals,
       double[] yvals
    )
    public:
    bool Calculate( 
       array<double>^ xvals,
       array<double>^ yvals
    ) 

    Parameters

    xvals
    yvals
    See Also