IMSL C# Numerical Library

Pie Constructor (Chart, Double[])

Constructs a Pie chart object with a specified number of slices.

public Pie(
   Chart chart,
   double[] y
);

Parameters

chart
A Chart which specifies the parent of this node.
y
A double[] which contains the values for the pie chart.

Remarks

An array of y.length PieSlice nodes are created as children of this node and this array is used to define the attribute "PieSlice" in this node.

The "Viewport" attribute for this node is set to [0.2,0.8] by [0.2,0.8].

See Also

Pie Class | Imsl.Chart2D Namespace | Pie Constructor Overload List