ZedGraph LogoZedGraph Class Library Documentation
AddPieSlice Method (value, color, displacement, label)
NamespacesZedGraphGraphPaneAddPieSlice(Double, Color, Double, String)
Add a PieItem to the display.
Declaration Syntax
C#Visual BasicVisual C++
public PieItem AddPieSlice(
	double value,
	Color color,
	double displacement,
	string label
)
Public Function AddPieSlice ( _
	value As Double, _
	color As Color, _
	displacement As Double, _
	label As String _
) As PieItem
public:
PieItem^ AddPieSlice (
	double value, 
	Color color, 
	double displacement, 
	String^ label
)
Parameters
value (Double)
The value associated with this PieItemitem.
color (Color)
The display color for this PieItemitem.
displacement (Double)
The amount this PieItemitem will be displaced from the center of the PieItem.
label (String)
Text label for this PieItem
Return Value
a reference to the PieItem constructed

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621