Constructs a Pie chart object with a specified number of
slices.
Namespace:
Imsl.Chart2D
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public Pie( Chart chart, double[] y ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ chart As Chart, _ y As Double() _ ) |
Visual C++ |
---|
public: Pie( Chart^ chart, array<double>^ y ) |
Parameters
- chart
- Type: Imsl.Chart2D..::.Chart
A Chart which specifies the parent of this node.
- y
- Type: array<
System..::.Double
>[]()[]
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].