ChartDirector 7.1 (.NET Edition)

ThreeDChart.setPlotRegion


Usage

[C#]public void setPlotRegion(int cx, int cy, int xWidth, int yDepth, int zHeight);
[VB]Public Sub setPlotRegion(cx As Integer, cy As Integer, xWidth As Integer, yDepth As Integer, zHeight As Integer)

Description

Sets the position of the plot region.

The plot region is a 3D box, with x, y, and z axes along its border, using a right-hand cartesian coordinate system.

To create the chart image, you may imagine a camera taking a photograph of the box. The photograph can be taken at different angles, configurable with ThreeDChart.setViewAngle. The position of the plot region in the photograph is such that the center of the plot region is at a given point (cx, cy) on the image.

Arguments

ArgumentDefaultDescription
cx(Mandatory)The x pixel coordinate of the point on the image at which the center of the plot region is located.
cy(Mandatory)The y pixel coordinate of the point on the image at which the center of the plot region is located.
xWidth(Mandatory)The length of the x-dimension of the plot region in pixels.
yDepth(Mandatory)The length of the y-dimension of the plot region in pixels.
zHeight(Mandatory)The length of the z-dimension of the plot region in pixels.

Return Value

None