2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.5.2 Assembly / C1.Win.C1Chart Namespace / TrendLine Class / GetY Method
X value

In This Topic
    GetY Method (TrendLine)
    In This Topic
    Calculates the value of the TrendLine at the specified value of X.
    Syntax
    'Declaration
     
    Public Function GetY( _
       ByVal x As System.Double _
    ) As System.Double
    public System.double GetY( 
       System.double x
    )

    Parameters

    x
    X value

    Return Value

    Calculated y value.
    Remarks
    This method only applies to TrendLines types that perform regressions.
    See Also