This property enables (true) / disable (false) building the default cube in a 3D chart when the automatic chart layout manager is enabled with setPlace(true).
DATA TYPE:
boolean
RANGE:
true = Enable building the default cube, false = Disable building the default cube
DEFAULT:
false
SYNTAX:
void setBuildDefaultCube(boolean newValue);
boolean getBuildDefaultCube();
EXAMPLE:
setCubeIsometricProjection(true);
setBuildDefaultCube(false);
setCubeRotationMatrix(0.94,-0.50,1.03,0.0,1.33,0.65,-1.15,-0.40,0.85);
setCubeProportional(true);
setCubeWallThickX(0);
setCubeWallThickY(0);
setCubeWallThickZ(0);
setCubeLightSourceX(90.0);
setCubeLightSourceY(90.0);
setCubeLightSourceZ(100.0);
setPlace(true);
setGraphType(8);
setGrid3DLeftWallDisplayY(true);
setGrid3DRightWallDisplayY(true);
setCubeIsometricProjection(true);
setBuildDefaultCube(true);
setCubeRotationMatrix(0.94,-0.50,1.03,0.0,1.33,0.65,-1.15,-0.40,0.85);
setCubeProportional(true);
setCubeWallThickX(0);
setCubeWallThickY(0);
setCubeWallThickZ(0);
setCubeLightSourceX(90.0);
setCubeLightSourceY(90.0);
setCubeLightSourceZ(100.0);
setPlace(true);
setGraphType(8);
setGrid3DLeftWallDisplayY(true);
setGrid3DRightWallDisplayY(true);
ALSO SEE:
This property enables (true) / disables (false) drawing of a chart without recalculating the risers when the automatic chart layout manager is enabled with setPlace(true).
DATA TYPE:
boolean
RANGE:
true / false; true = Do not recalcute the risers when the chart is drawn, false = Recalculate the risers when the chart is drawn
DEFAULT:
true
SYNTAX:
void setDrawNextTimeWithoutRisers(boolean newValue);
boolean getDrawNextTimeWithoutRisers();
ALSO SEE:
The Place property enables/disables the automatic chart layout manager. This functionality allows you to automatically setup the spacing of various elements of a chart. Prior to drawing a chart, certain Perspective methods may be set depending on what the automatic chart layout manager determines the optimum chart to be.
DATA TYPE:
boolean
RANGE:
true / false; true = Enable automatic chart layout manager, false = Disable
DEFAULT:
false
SYNTAX:
void setPlace(boolean newValue);
boolean getPlace();When Place is true, the following methods further control placement of chart objects:
- setPlaceAlign(); For any text object, allow/disallow horizontal alignment. By default, horizontal alignment is allowed.
- setPlaceMargin(); Define the margin to draw around the entire chart. The default value is default new Rectangle(-15500, -15500, 31000, 31000).
- setPlaceMaxNumWordWrapLines(); For any text object, define the maximum number of lines that can be wrapped when setPlaceWordWrap() is enabled. The default value is 2.
- setPlaceMinFontSize(); For any text object, define the minimum font size that can be used by the automatic chart layout manager to resize a text object. The default value is 4 point.
- setPlacePosition(); Define how the automatic chart layout manager can position objects. In the current implementation, only the legend object can be repositioned. The default value is zero.
- setPlaceRect(); Set the rectangle to be used for initial placement of objects. In the current implementation, only object IDs return by getPlaceVertO1LabelsTitle() or getPlaceHorzO1LabelsTitle() can be used.
- setPlaceResize(); For any chart object, allow/disallow the automatic chart layout manager to move/resize an object. By default, resizing of all chart objects is allowed.
- setPlaceRotate(); For any text object, allow/disallow the automatic chart layout manager to rotate an object. By default, rotation is allowed for all text objects.
- setPlaceSkip(); For O1-labels, allow/disallow the automatic chart layout manager to skip labels. By default, label skipping is allowed.
- setPlaceTruncateCount(); For any text object, set the number of characters that can be truncated.
- setPlaceWordWrap(); For any text object, allow/disallow word wrapping. By default, word wrapping is allowed.
NOTE:
- This property is automatically set to false after the chart layout manager has been activated. If you want to use the chart layout manager when a container is resized, your container resize routine should include setPlace(true).
- In most cases, setPlace(true) is all that is required for the chart layout manager to produce an acceptable chart layout. The setPlace...() methods can be used if setPlace(true) alone does not produce acceptable results.
- For funnel, radar, and polar charts, the automatic chart layout manager (enabled by setPlace(true)) will remove the chart frame with setTransparentBorderColor(getFrame(), true).
- Automatic chart layout is not supported for Waterfall charts.
ALSO SEE:
All get/setPlace... methods.