public class IlvChart3DView
extends java.lang.Object
The IlvChart3DView
class lets you control the appearance of an
IlvChart
when it is drawn in 3-D.
CSS example:
chart3DView {
class : "ilog.views.chart.IlvChart3DView";
ambientLight : "2.0";
autoScaling : "false";
depth : "2";
depthGap : "2";
elevation : "3.0";
lightLatitude : "3.0";
lightLongitude : "3.0";
projectionType : "ORTHOGRAPHIC";
rotation : "3.0";
ZAnnotationColorVarying : "false";
ZAnnotationRenderer : "@#ilvLabelRenderer";
ZAnnotationVisible : "false";
ZGridPaint : "#000000";
ZGridStroke : "@#stroke";
ZGridVisible : "false";
zoom : "3.0";
}
Modifier and Type | Property and Description |
---|---|
float |
ambientLight
Sets the intensity of the ambient light. |
boolean |
autoScaling
Toggles the automatic scaling of the view. |
java.lang.String |
class
Default constructor. |
int |
depth
Sets the depth of the chart relatively to its width. |
int |
depthGap
Sets the depth gap between two consecutive renderers. |
double |
elevation
Sets the elevation angle. |
double |
lightLatitude
Sets the light latitude. |
double |
lightLongitude
Sets the light longitude. |
int |
projectionType
Sets the projection type. |
double |
rotation
Sets the rotation angle. |
boolean |
ZAnnotationColorVarying
Specifies whether the text annotations along the depth axis take the color of the corresponding data series, or whether they are all of the same color. |
IlvLabelRenderer |
ZAnnotationRenderer
Sets the renderer used to display the text annotations along the depth axis. |
boolean |
ZAnnotationVisible
Specifies whether text annotations are displayed along the depth axis. |
Paint |
ZGridPaint
Specifies the paint used to draw the grid lines along the depth axis. |
Stroke |
ZGridStroke
Specifies the stroke used to draw the grid lines along the depth axis. |
boolean |
ZGridVisible
Specifies whether z grid lines are drawn. |
double |
zoom
Sets the zooming factor. |
The light location is specified using spherical coordinates in the
projected space. It determines the direction of the light rays, which
affects the color of a rendered surface.
CSS example:
lightLatitude : "3.0";
public double lightLongitude
The light location is specified using spherical coordinates in the
projected space. It determines the direction of the light rays, which
affects the color of a rendered surface.
CSS example:
lightLongitude : "3.0";
public int projectionType
Note: The oblique projection preserves the orthogonality of the
x- and y-axes. It can only be used with Cartesian charts.
CSS example:
projectionType : "ORTHOGRAPHIC";
Allowed values: | ||
ORTHOGRAPHIC |
Type constant for orthographic projection. | |
OBLIQUE |
Type constant for oblique projection. |
public double rotation
rotation : "3.0";
public boolean ZAnnotationColorVarying
ZAnnotationColorVarying : "false";
public IlvLabelRenderer ZAnnotationRenderer
Note: The color of the text annotation will be taken from
the data set renderer if isZAnnotationColorVarying()
is true
.
CSS example:
ZAnnotationRenderer : "@#ilvLabelRenderer";
See implementing class IlvLabelRenderer
for an example of implementing a ZAnnotationRenderer.
public boolean ZAnnotationVisible
ZAnnotationVisible : "false";
ZAnnotationRenderer
public Paint ZGridPaint
ZGridPaint : "#000000";
public Stroke ZGridStroke
ZGridStroke : "@#stroke";
BasicStroke
for an example of implementing a ZGridStroke.public boolean ZGridVisible
ZGridVisible : "false";
public double zoom
zoom : "3.0";
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.