Dundas Chart for Windows Forms
PieStartAngle Custom Attribute
See Also Send comments on this topic.
Custom Attributes > PieStartAngle Custom Attribute



Glossary Item Box

Defines the location of the first pie or doughnut slice (i.e. data point).
Visual Basic Copy Code
Imports Dundas.Charting.WinControl
  ...

' Set start angle of first slice to 60 degrees.
Chart1.Series(0)("PieStartAngle") = "60"

C# Copy Code
using Dundas.Charting.WinControl;
   ...

// Set start angle of first slice to 60 degrees.
chart1.Series[0]["PieStartAngle"] = "60";

Remarks

This attribute can be any valid angle, and defaults to 90 degrees also known as the 3 o'clock position. 

Custom Attribute Summary
Possible Values: 0 to 360.
Default Value: 90.
2D / 3D Limitations: No.
Applies to Chart Element: Series Objects of Pie and Doughnut Charts
Applies to Chart Types: Pie, Doughnut

 

Start Angle of First Slice

Figure 1: Start Angle of First Slice Set to Default (shown-left), and  Start Angle of First Slice Set to 60 Degrees(shown-right).

See Also

©2009. All Rights Reserved.