3D Custom Viewing Options

How to:

3D custom viewing options are available in the Graph Editor menu when a 3D graph is selected in the Graph Type menu. 3D Custom Viewing options enable you to:


Top of page

x
Procedure: How to Rotate 3D Cubes
  1. Select the Rotate tab from 3D Custom View.
  2. Position the mouse pointer over an arrow in the dialog box and hold down the primary mouse button to rotate the 3D cube in the direction of the arrow.

    Note: Click Clear Frame if you wish to remove the frame that appears as you position the graph. This cancels the rotation and leaves the graph unmoved.

  3. Select the Apply button to add these selections to the chart.

Top of page

x
Syntax: How to Add Properties and Methods for Rotating 3D Cubes

Selections in the Rotate dialog box add the following properties and methods to the code that defines this chart:

setCubeRotationMatrix ( value, value, value, value, ...)

Top of page

x
Procedure: How to Pan 3D Cubes
  1. Select the 3D Pan tab from 3D Custom View.
  2. Position the mouse pointer over an arrow in the dialog and hold down the primary mouse button to pan the 3D cube in the direction of the arrow.
    Left/Right Arrow

    Use the left arrow and right arrow to move the 3D cube in the X-direction (in virtual coordinates). Each mouse click moves the cube left or right 100 units in virtual coordinates. Hold the primary mouse button down to move the cube continuously in the X-direction.

    Up/Down Arrow

    Use the up arrow and down arrow to move the 3D cube in the Y-direction (in virtual coordinates). Each mouse click moves the cube up or down 100 units in virtual coordinates. Hold the primary mouse button down to move the cube continuously in the Y-direction.

    Front Arrow/Back Arrow

    Use the front arrow and back arrow to move the 3D cube in the Z-direction. Each mouse click moves the cube forward or backward 100 units in 2D virtual coordinates. Hold the primary mouse button down to move the cube continuously in the Z-direction.

  3. Select the Apply button to add these selections to the chart.

Top of page

x
Syntax: How to Add Properties and Methods for Panning 3D Cubes

Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:

Editor Field

Property/Method

Set cube translation x value

setCubeTranslationX ( value );

Set cube translation y value

setCubeTranslationY ( value );

Front/Back Arrow

setCubeTranslationZ ( value );


x
Procedure: How to Define 3D Cube Walls
  1. Select the Walls tab from 3D Custom View.
  2. Position the mouse pointer over an arrow in the dialog and hold down the primary mouse button to adjust the thickness and size of walls in the 3D cube in the direction of the arrow.
    Upper-Left Corner of Cube Wall

    Use these arrows to increase or decrease the thickness of the cube left wall in the X-direction.

    Center of Cube Wall

    Use these arrows to increase or decrease the size of the cube in the Y-direction.

    Upper-Right Corner of Cube Wall

    Use these arrows to increase or decrease the thickness of the cube right wall in the Z-direction.

    Left Center of Cube

    Use these arrows to increase or decrease the size of the cube in the Z-direction.

    Right Center of Cube

    Use these arrows to increase or decrease the size of the cube in the X-direction.

    Bottom of Cube

    Use these arrows to change the thickness of the floor.

  3. Select the Apply button to add these selections to the chart.

Top of page

x
Syntax: How to Add Properties and Methods for Defining 3D Cube Walls

Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:

Editor Field

Property/Method

Top Left Corner of Cube Wall Set cube wall thick x value

setCubeWallThickX ( value );

Top Center of Cube Wall Set cube size y value

setCubeSizeY ( value );

Top Right Corner of Cube Wall Set cube wall thick z value

setCubeWallThickZ ( value );

Center Left of Cube Wall Set cube size z value

setCubeSizeZ ( value );

Center Right of Cube Wall Set cube size x value

setCubeSizeX ( value );

Bottom of Cube Set cube wall thick y value

setCubeWallThickY ( value );


x
Procedure: How to Zoom in 3D Cubes
  1. Select the Zoom tab from 3D Custom View.
  2. Position the mouse pointer over an arrow in the dialog and hold down the primary mouse button to zoom the 3D cube in the direction of the arrow.
    Up Arrow

    Use the up arrow to set the cube zoom factor to negative values. Values less than one make the cube smaller, values greater than one make the cube larger. The cube becomes smaller within the chart frame.

    Down Arrow

    Use the down arrow to set the cube zoom factor to positive values. The cube becomes larger within the chart frame.

  3. Select the Apply button to add these selections to the chart.

Top of page

x
Syntax: How to Add Properties and Methods for Zooming in 3D Cubes

Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:

Editor Field

Property/Method

Set cube zoom factor value

setCubeZoomFactor ( value );

Set cube zoom factor value

setCubeZoomFactor ( value );


x
Procedure: How to Use 2D Virtual Coordinates to Pan 3D Graphs
  1. Select the 2D Pan tab from 3D Custom View.
  2. Position the mouse pointer over an arrow in the dialog and hold down the primary mouse button to pan the 3D cube in the direction of the arrow.
    Left/Right Arrows

    Use the left arrow and right arrow to move the 3D cube in the X-direction (in 2D virtual coordinates). Each mouse click moves the cube left or right 100 units in virtual coordinates. Hold the primary mouse button down to move the cube continuously in the X-direction.

    Up/Down Arrows

    Use the up arrow and down arrow to move the 3D cube in the Y-direction (in 2D virtual coordinates). Each mouse click moves the cube up or down 100 units in virtual coordinates. Hold the primary mouse button down to move the cube continuously in the Y-direction.

  3. Select the Apply button to add these selections to the chart.

Top of page

x
Syntax: How to Add Properties and Methods for Using 2D Virtual Coordinates to Pan 3D Graphs

Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:

Editor Field

Property/Method

Set cube pan x value

setCubePanX ( value );

Set cube pan y value

setCubePanY ( value );


x
Procedure: How to Set the Field of View for the Cube
  1. Select the FOV tab from 3D Custom View.
  2. Position the mouse pointer over a cube in the dialog and hold down the primary mouse button to change the cube focus factor.
    Front Cube

    Hold down the primary mouse button on the front cube to make the 3D cube smaller within the chart frame.

    Back Cube

    Hold down the primary mouse button on the back cube to make the 3D cube larger within the chart frame.

  3. Select the Apply button to add these selections to the chart.

Top of page

x
Syntax: How to Add Properties and Methods for Field of View

Selections in the associated dialog box add the following properties and methods to the code that defines this chart:

setCubeFocusFactor( value );

WebFOCUS