ChartDirector 7.1 (.NET Edition)

PyramidChart.setPyramidSize


Usage

[C#]public void setPyramidSize(int cx, int cy, int radius, int height);
[VB]Public Sub setPyramidSize(cx As Integer, cy As Integer, radius As Integer, height As Integer)

Description

Sets the position and size of the pyramid in a pyramid chart.

Arguments

ArgumentDefaultDescription
cx(Mandatory)The x-coordinate of the center of the pyramid. The center of the pyramid is the midpoint of the vertical axis of the pyramid.
cy(Mandatory)The y-coordinate of the center of the pyramid. The center of the pyramid is the midpoint of the vertical axis of the pyramid.
radius(Mandatory)For a square pyramid, it is the length of the square. For a pyramid with other regular polygonal base, it is the radius of the circumcircle of the base.
height(Mandatory)The height of the pyramid.

Return Value

None