Dundas Chart for Windows Forms
DrawLine Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl.ChartTypes Namespace > FastLineChart Class : DrawLine Method


series
Chart series.
point
Series last data point in the group.
pointMin
Series minimum Y value data point in the group.
pointMax
Series maximum Y value data point in the group.
pointIndex
Point index.
pen
Pen object that determines the color, width, and style of the line.
firstPointX
First point X coordinate.
firstPointY
First point Y coordinate
secondPointX
Second point X coordinate.
secondPointY
Second point Y coordinate
Draws a line connecting two PointF structures.

Syntax

Visual Basic (Declaration)  
Public Overridable Sub DrawLine( _
   ByVal series As Series, _
   ByVal point As DataPoint, _
   ByVal pointMin As DataPoint, _
   ByVal pointMax As DataPoint, _
   ByVal pointIndex As Integer, _
   ByVal pen As Pen, _
   ByVal firstPointX As Single, _
   ByVal firstPointY As Single, _
   ByVal secondPointX As Single, _
   ByVal secondPointY As Single _
) 
Visual Basic (Usage) Copy Code
Dim instance As FastLineChart
Dim series As Series
Dim point As DataPoint
Dim pointMin As DataPoint
Dim pointMax As DataPoint
Dim pointIndex As Integer
Dim pen As Pen
Dim firstPointX As Single
Dim firstPointY As Single
Dim secondPointX As Single
Dim secondPointY As Single
 
instance.DrawLine(series, point, pointMin, pointMax, pointIndex, pen, firstPointX, firstPointY, secondPointX, secondPointY)
C#  
public virtual void DrawLine( 
   Series series,
   DataPoint point,
   DataPoint pointMin,
   DataPoint pointMax,
   int pointIndex,
   Pen pen,
   float firstPointX,
   float firstPointY,
   float secondPointX,
   float secondPointY
)

Parameters

series
Chart series.
point
Series last data point in the group.
pointMin
Series minimum Y value data point in the group.
pointMax
Series maximum Y value data point in the group.
pointIndex
Point index.
pen
Pen object that determines the color, width, and style of the line.
firstPointX
First point X coordinate.
firstPointY
First point Y coordinate
secondPointX
Second point X coordinate.
secondPointY
Second point Y coordinate

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

© 2009 All Rights Reserved.