Click or drag to resize
PieSetData Method
Changes the data in a Pie chart object.

Namespace: Imsl.Chart2D
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public virtual PieSlice[] SetData(
	double[] y
)

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