Dundas Chart for ASP.NET
DrawPie Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl.Svg Namespace > SvgRendering Class : DrawPie Method


rect
Rectangle structure that represents the bounding rectangle that defines the ellipse from which the pie shape comes.
startAngle
Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
sweepAngle
Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
Draws a pie shape defined by an ellipse specified by a Rectangle structure and two radial lines.

Syntax

Visual Basic (Declaration)  
Public Sub DrawPie( _
   ByVal rect As RectangleF, _
   ByVal startAngle As Single, _
   ByVal sweepAngle As Single _
) 
Visual Basic (Usage) Copy Code
Dim instance As SvgRendering
Dim rect As RectangleF
Dim startAngle As Single
Dim sweepAngle As Single
 
instance.DrawPie(rect, startAngle, sweepAngle)
C#  
public void DrawPie( 
   RectangleF rect,
   float startAngle,
   float sweepAngle
)

Parameters

rect
Rectangle structure that represents the bounding rectangle that defines the ellipse from which the pie shape comes.
startAngle
Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
sweepAngle
Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.

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.