ComponentOne FinancialChart for WinForms
C1.Chart Namespace / IRenderEngine Interface / DrawLine Method
x-coordinate of first point.
y-coordinate of first point.
x-coordinate of second point.
y-coordinate of second point.

In This Topic
    DrawLine Method (IRenderEngine)
    In This Topic
    Draw line between two points using current stroke attributes.
    Syntax
    'Declaration
     
    
    Sub DrawLine( _
       ByVal x1 As Double, _
       ByVal y1 As Double, _
       ByVal x2 As Double, _
       ByVal y2 As Double _
    ) 
    void DrawLine( 
       double x1,
       double y1,
       double x2,
       double y2
    )

    Parameters

    x1
    x-coordinate of first point.
    y1
    y-coordinate of first point.
    x2
    x-coordinate of second point.
    y2
    y-coordinate of second point.
    See Also