ChartDirector 7.0 (Java Edition)

PyramidChart.setPyramidSize


Usage

public void setPyramidSize(int cx, int cy, int radius, int height)

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