ChartDirector 7.0 (ASP/COM/VB Edition)

PyramidChart.setFunnelSize


Usage

void setFunnelSize(cx, cy, radius, height [, tubeRadius [, tubeHeight ]])

Description

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

A funnel is similar to an inverted cone, except that the vertex of the cone is replaced by a tube.

Arguments

ArgumentDefaultDescription
cx(Mandatory)The x-coordinate of the center of the funnel. The center of the funnel is the midpoint of the vertical axis of the funnel.
cy(Mandatory)The y-coordinate of the center of the funnel. The center of the funnel is the midpoint of the vertical axis of the funnel.
radius(Mandatory)The radius of the mouth of the funnel.
height(Mandatory)The height of the funnel, inclusive of the tube.
tubeRadius0.2The radius of the tube, as a ratio to the radius of the mouth of the funnel.
tubeHeight0.3The height (length) of the tube, as a ratio to the total height of the funnel. It must be between 0 to 1.

Return Value

None