Dundas.SharePoint.Charting.WebParts Send comments on this topic.
DrawLine(Pen,Single,Single,Single,Single) Method
See Also 
Dundas.Charting.WebControl Namespace > ChartRenderingEngine Class > DrawLine Method : DrawLine(Pen,Single,Single,Single,Single) Method


pen
Pen object that determines the color, width, and style of the line.
x1
x-coordinate of the first point.
y1
y-coordinate of the first point.
x2
x-coordinate of the second point.
y2
y-coordinate of the second point.
Draws a line connecting the two points specified by coordinate pairs.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub DrawLine( _
   ByVal pen As Pen, _
   ByVal x1 As Single, _
   ByVal y1 As Single, _
   ByVal x2 As Single, _
   ByVal y2 As Single _
) 
Visual Basic (Usage) Copy Code
Dim instance As ChartRenderingEngine
Dim pen As Pen
Dim x1 As Single
Dim y1 As Single
Dim x2 As Single
Dim y2 As Single
 
instance.DrawLine(pen, x1, y1, x2, y2)
C#  
public void DrawLine( 
   Pen pen,
   float x1,
   float y1,
   float x2,
   float y2
)

Parameters

pen
Pen object that determines the color, width, and style of the line.
x1
x-coordinate of the first point.
y1
y-coordinate of the first point.
x2
x-coordinate of the second point.
y2
y-coordinate of the second point.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also