Dundas Chart for ASP.NET
DrawCurve(Pen,PointF[],Int32,Int32,Single) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl.Svg Namespace > SvgChartGraphics Class > DrawCurve Method : DrawCurve(Pen,PointF[],Int32,Int32,Single) Method


pen
Pen object that determines the color, width, and height of the curve.
points
Array of PointF structures that define the spline.
offset
Offset from the first element in the array of the points parameter to the starting point in the curve.
numberOfSegments
Number of segments after the starting point to include in the curve.
tension
Value greater than or equal to 0.0F that specifies the tension of the curve.
Draws a cardinal spline through a specified array of PointF structures using a specified tension. The drawing begins offset from the beginning of the array.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub DrawCurve( _
   ByVal pen As Pen, _
   ByVal points() As PointF, _
   ByVal offset As Integer, _
   ByVal numberOfSegments As Integer, _
   ByVal tension As Single _
) 
Visual Basic (Usage) Copy Code
Dim instance As SvgChartGraphics
Dim pen As Pen
Dim points() As PointF
Dim offset As Integer
Dim numberOfSegments As Integer
Dim tension As Single
 
instance.DrawCurve(pen, points, offset, numberOfSegments, tension)
C#  
public void DrawCurve( 
   Pen pen,
   PointF[] points,
   int offset,
   int numberOfSegments,
   float tension
)

Parameters

pen
Pen object that determines the color, width, and height of the curve.
points
Array of PointF structures that define the spline.
offset
Offset from the first element in the array of the points parameter to the starting point in the curve.
numberOfSegments
Number of segments after the starting point to include in the curve.
tension
Value greater than or equal to 0.0F that specifies the tension of the curve.

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.