Pie Constructor (Chart, Double) |
Constructs a Pie chart object with a specified number of
slices.
Namespace: Imsl.Chart2DAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public Pie(
Chart chart,
double[] y
)
Public Sub New (
chart As Chart,
y As Double()
)
public:
Pie(
Chart^ chart,
array<double>^ y
)
new :
chart : Chart *
y : float[] -> Pie
Parameters
- chart
- Type: Imsl.Chart2DChart
A Chart which specifies the parent of this node.
- y
- Type: SystemDouble
A double[] which contains the values for the pie chart.
Remarks
An array of
y.lengthPieSlice 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