ilog.views.chart
Class IlvChart3DView

ilog.views.chart.IlvChart3DView

public class IlvChart3DView

Represents the three-dimensional view of a chart.

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";
}


Property Summary
 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 gridlines along the depth axis.
 Stroke ZGridStroke
          
Specifies the stroke used to draw the gridlines along the depth axis.
 boolean ZGridVisible
          
Specifies whether z gridlines are drawn.
 double zoom
          
Sets the zooming factor.
 

Property Detail

class

public java.lang.String class

Default constructor.

CSS example:     class : "ilog.views.chart.IlvChart3DView";


ambientLight

public float ambientLight

Sets the intensity of the ambient light.

This intensity defines the ambient lighting and affects the color of a rendered surface independently of its orientation.

CSS example:     ambientLight : "2.0";


autoScaling

public boolean autoScaling

Toggles the automatic scaling of the view.

CSS example:     autoScaling : "false";


depth

public int depth

Sets the depth of the chart relatively to its width. The default value is 20.

CSS example:     depth : "2";


depthGap

public int depthGap

Sets the depth gap between two consecutive renderers. The default value is 0.

CSS example:     depthGap : "2";


elevation

public double elevation

Sets the elevation angle.

CSS example:     elevation : "3.0";


lightLatitude

public double lightLatitude

Sets the light latitude.

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";


lightLongitude

public double lightLongitude

Sets the light longitude.

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";


projectionType

public int projectionType

Sets the projection type.

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.


rotation

public double rotation

Sets the rotation angle.

CSS example:     rotation : "3.0";


ZAnnotationColorVarying

public 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.

CSS example:     ZAnnotationColorVarying : "false";


ZAnnotationRenderer

public IlvLabelRenderer ZAnnotationRenderer

Sets the renderer used to display the text annotations along the depth axis.

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.


ZAnnotationVisible

public boolean ZAnnotationVisible

Specifies whether text annotations are displayed along the depth axis.

CSS example:     ZAnnotationVisible : "false";

See Also:
ZAnnotationRenderer

ZGridPaint

public Paint ZGridPaint

Specifies the paint used to draw the gridlines along the depth axis.

CSS example:     ZGridPaint : "#000000";


ZGridStroke

public Stroke ZGridStroke

Specifies the stroke used to draw the gridlines along the depth axis. If no stroke is specified, the stroke of the x-grid or the y-grid is used.

CSS example:     ZGridStroke : "@#stroke";

See implementing class BasicStroke for an example of implementing a ZGridStroke.


ZGridVisible

public boolean ZGridVisible

Specifies whether z gridlines are drawn.

CSS example:     ZGridVisible : "false";


zoom

public double zoom

Sets the zooming factor.

CSS example:     zoom : "3.0";



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.