ComponentOne FinancialChart for WPF
C1.Chart Namespace / IRenderEngine Interface / DrawPolygon Method
Array of x-coordinates.
Array of y-coordinates.



In This Topic
    DrawPolygon Method
    In This Topic
    Draw polygon with currect stroke and fill.
    Syntax
    'Declaration
     
    
    Sub DrawPolygon( _
       ByVal xs() As Double, _
       ByVal ys() As Double _
    ) 
    'Usage
     
    
    Dim instance As IRenderEngine
    Dim xs() As Double
    Dim ys() As Double
     
    instance.DrawPolygon(xs, ys)
    void DrawPolygon( 
       double[] xs,
       double[] ys
    )
    void DrawPolygon( 
       array<double>^ xs,
       array<double>^ ys
    ) 

    Parameters

    xs
    Array of x-coordinates.
    ys
    Array of y-coordinates.
    See Also