ChartDirector 6.0 (ColdFusion Edition)

ThreeDChart.setPerspective


Usage

setPerspective(perspective)

Description

Sets the strength of the perspective effect.

When taking the photograph of a scene, things closer to the camera are larger in the photograph, while things farther from the camera are smaller. For example, two trees of exactly the same height but at different distances from the camera will have different heights as measured in the photograph. This is known as the perspective effect.

This method configures the strength of the perspective effect for a ThreeDChart object. The nearer part of the plot region will be magnified, while the farther part will be reduced. The average size of the plot region will be approximately unchanged.

Arguments

ArgumentDefaultDescription
perspective(Mandatory)The strength of the perspective effect. It approximately represents the maximum percentage magnification of the plot region, which is the same as the maximum percentage reduction. A value of 0 means no perspective effect. This value is usually between 0 to 100. If this method is never called, the default is 12.

Return Value

None