WebFOCUS Online Help > Creating Charts With Graph Tools > Customizing Graphs With the Graph Editor > 3D Custom Viewing Options
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:
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.
Selections in the Rotate dialog box add the following properties and methods to the code that defines this chart:
setCubeRotationMatrix ( value, value, value, value, ...)
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.
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.
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.
Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:
Editor Field |
Property/Method |
---|---|
setCubeTranslationX ( value ); | |
setCubeTranslationY ( value ); | |
Front/Back Arrow |
setCubeTranslationZ ( value ); |
Use these arrows to increase or decrease the thickness of the cube left wall in the X-direction.
Use these arrows to increase or decrease the size of the cube in the Y-direction.
Use these arrows to increase or decrease the thickness of the cube right wall in the Z-direction.
Use these arrows to increase or decrease the size of the cube in the Z-direction.
Use these arrows to increase or decrease the size of the cube in the X-direction.
Use these arrows to change the thickness of the floor.
Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:
Editor Field |
Property/Method |
---|---|
setCubeWallThickX ( value ); | |
setCubeSizeY ( value ); | |
setCubeWallThickZ ( value ); | |
setCubeSizeZ ( value ); | |
setCubeSizeX ( value ); | |
setCubeWallThickY ( value ); |
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.
Use the down arrow to set the cube zoom factor to positive values. The cube becomes larger within the chart frame.
Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:
Editor Field |
Property/Method |
---|---|
setCubeZoomFactor ( value ); | |
setCubeZoomFactor ( value ); |
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.
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.
Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:
Editor Field |
Property/Method |
---|---|
setCubePanX ( value ); | |
setCubePanY ( value ); |
Hold down the primary mouse button on the front cube to make the 3D cube smaller within the chart frame.
Hold down the primary mouse button on the back cube to make the 3D cube larger within the chart frame.
Selections in the associated dialog box add the following properties and methods to the code that defines this chart:
setCubeFocusFactor( value );
WebFOCUS |