Changes the data in a Pie chart object.
Namespace: Imsl.Chart2DAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public virtual PieSlice[] SetData(
double[] y
)
Public Overridable Function SetData (
y As Double()
) As PieSlice()
public:
virtual array<PieSlice^>^ SetData(
array<double>^ y
)
abstract SetData :
y : float[] -> PieSlice[]
override SetData :
y : float[] -> PieSlice[]
Parameters
- y
- Type: SystemDouble
A double[] which contains the values for the pie chart.
Return Value
Type:
PieSlice
A
PieSlice[] array containing the updated PieSlice.
Remarks
If the number of slices is unchanged then the existing pie slice
array, defined by the attribute "PieSlice" in this node, is reused.
If the number is different, a new array is allocated, using the
existing PieSlice elements to initialize the new array.
See Also