ilog.views.chart.renderer
Class IlvSingleAreaRenderer

ilog.views.chart.IlvChartRenderer
      extended by ilog.views.chart.renderer.IlvSingleChartRenderer
          extended by ilog.views.chart.renderer.IlvSinglePolylineRenderer
              extended by ilog.views.chart.renderer.IlvSingleAreaRenderer
Direct Known Subclasses:
IlvSingleStairRenderer

public class IlvSingleAreaRenderer
extends IlvSinglePolylineRenderer

Renders a data set with an area chart.

CSS example:

ilvSingleAreaRenderer {
    class : "ilog.views.chart.renderer.IlvSingleAreaRenderer";
    3DOutlinePaint : "#000000";
    annotation : "@#ilvDataLabelAnnotation";
    marker : "CIRCLE";
    markerSize : "2";
    markerStyle : "@#ilvStyle";
    name : "<value>";
    style : "@#ilvStyle";
    styles[0] : "@#ilvStyle1";
    styles[1] : "@#ilvStyle2";
    visible : "false";
    visibleInLegend : "false";
}


Property Summary
 Paint 3DOutlinePaint
          
Sets the outline paint used when the renderer is drawn as a 3-D ribbon.
 IlvDataAnnotation annotation
          
Specifies a global annotation for all the data sets displayed by this renderer.
 java.lang.String class
          
Creates a new area renderer.
 ilog.views.chart.graphic.IlvMarker marker
          
Sets a marker on this renderer.
 int markerSize
          
Sets the size of the optional marker drawn by this renderer.
 IlvStyle markerStyle
          
Specifies the rendering style of the optional marker.
 java.lang.String name
          
Sets the name of this renderer.
 IlvStyle style
          
Sets the style used by this renderer.
 IlvStyle[] styles
          
Sets the styles used by this renderer.
 boolean visible
          
Toggles the visibility of this renderer.
 boolean visibleInLegend
          
Indicates whether the renderer appears in the legend.
 

Property Detail

class

public java.lang.String class

Creates a new area renderer.

CSS example:     class : "ilog.views.chart.renderer.IlvSingleAreaRenderer";


3DOutlinePaint

public Paint 3DOutlinePaint

Sets the outline paint used when the renderer is drawn as a 3-D ribbon.

CSS example:     3DOutlinePaint : "#000000";


annotation

public IlvDataAnnotation annotation

Specifies a global annotation for all the data sets displayed by this renderer. The specified annotation will also be associated with all the data sets that are connected to this renderer.

CSS example:     annotation : "@#ilvDataLabelAnnotation";

See implementing class IlvDataLabelAnnotation for an example of implementing an annotation.


marker

public ilog.views.chart.graphic.IlvMarker marker

Sets a marker on this renderer. The polyline renderer draws the associated marker for each projected data point. This marker is optional and can be set to null, in which case only the line joining the data points is drawn.

CSS example:     marker : "CIRCLE";

Allowed values:
CIRCLE    Predefined circle marker type.
CROSS    Predefined cross marker type.
DIAMOND    Predefined diamond marker type.
PLUS    Predefined plus marker type.
TRIANGLE    Predefined triangle marker type.
SQUARE    Predefined square marker type.
NONE


markerSize

public int markerSize

Sets the size of the optional marker drawn by this renderer.

CSS example:     markerSize : "2";


markerStyle

public IlvStyle markerStyle

Specifies the rendering style of the optional marker. If no style is specified, the style of the renderer is used.

CSS example:     markerStyle : "@#ilvStyle";

See implementing class IlvStyle for an example of implementing a markerStyle.


name

public java.lang.String name

Sets the name of this renderer.

CSS example:     name : "<value>";


style

public IlvStyle style

Sets the style used by this renderer. By default, the IlvSingleChartRenderer class makes use of a single style. If the parameter is null and the renderer has been attached to a chart, sets a default style.

Note: The Bean property style must not be specified together with the Bean property styles.

CSS example:     style : "@#ilvStyle";

See implementing class IlvStyle for an example of implementing a style.


styles

public IlvStyle[] styles

Sets the styles used by this renderer.

CSS example:    

styles[0] : "@#ilvStyle1";
styles[1] : "@#ilvStyle2";

See implementing class IlvStyle for an example of implementing a styles.


visible

public boolean visible

Toggles the visibility of this renderer.

CSS example:     visible : "false";


visibleInLegend

public boolean visibleInLegend

Indicates whether the renderer appears in the legend.

The default value of this property is true, which means that the renderer will automatically create and add items to the legend.

CSS example:     visibleInLegend : "false";



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