ZedGraph LogoZedGraph Class Library Documentation
AddPieSlice Method (value, color1, color2, fillAngle, displacement, label)
NamespacesZedGraphGraphPaneAddPieSlice(Double, Color, Color, Single, Double, String)
Add a PieItem to the display, providing a gradient fill for the pie color.
Declaration Syntax
C#Visual BasicVisual C++
public PieItem AddPieSlice(
	double value,
	Color color1,
	Color color2,
	float fillAngle,
	double displacement,
	string label
)
Public Function AddPieSlice ( _
	value As Double, _
	color1 As Color, _
	color2 As Color, _
	fillAngle As Single, _
	displacement As Double, _
	label As String _
) As PieItem
public:
PieItem^ AddPieSlice (
	double value, 
	Color color1, 
	Color color2, 
	float fillAngle, 
	double displacement, 
	String^ label
)
Parameters
value (Double)
The value associated with this PieItem instance.
color1 (Color)
The starting display color for the gradient Fill for this PieItem instance.
color2 (Color)
The ending display color for the gradient Fill for this PieItem instance.
fillAngle (Single)
The angle for the gradient Fill.
displacement (Double)
The amount this PieItem instance will be displaced from the center point.
label (String)
Text label for this PieItem instance.

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621