ilog.views.chart.renderer
Class IlvSingleBubbleRenderer

ilog.views.chart.IlvChartRenderer
      extended by ilog.views.chart.renderer.IlvSingleChartRenderer
          extended by ilog.views.chart.renderer.IlvSingleScatterRenderer
              extended by ilog.views.chart.renderer.IlvSingleBubbleRenderer

public class IlvSingleBubbleRenderer
extends IlvSingleScatterRenderer

Renders two data sets with a bubble chart. A bubble chart helps you visualize two data sets:

Let min and max be the limits of the y-values stored in the size data set, and let yValue be the y-value of a point in this data set, the actual size of the bubble displaying this point will be:
 (maxSize-minSize) * (yValue-min)/(max-min) + minSize 
Where maxSize and minSize are specified by the setMaxSize and setMinSize methods respectively.

CSS example:

ilvSingleBubbleRenderer {
    class : "ilog.views.chart.renderer.IlvSingleBubbleRenderer";
    annotation : "@#ilvDataLabelAnnotation";
    marker : "CIRCLE";
    markerSize : "2";
    maxSize : "2";
    minSize : "2";
    name : "<value>";
    style : "@#ilvStyle";
    styles[0] : "@#ilvStyle1";
    styles[1] : "@#ilvStyle2";
    visible : "false";
    visibleInLegend : "false";
}


See Also:
IlvBubbleChartRenderer

Property Summary
 IlvDataAnnotation annotation
          
Specifies a global annotation for all the data sets displayed by this renderer.
 java.lang.String class
          
Creates a new IlvSingleBubbleRenderer with a default bubble width and style.
 ilog.views.chart.graphic.IlvMarker marker
          
Sets the marker used to render data points.
 int markerSize
          
Sets the size of the marker.
 int maxSize
          
Sets the maximum size of a bubble.
 int minSize
          
Sets the minimum size of a bubble.
 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 IlvSingleBubbleRenderer with a default bubble width and style.

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


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 the marker used to render data points.

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    Predefined internal marker type.


markerSize

public int markerSize

Sets the size of the marker.

CSS example:     markerSize : "2";


maxSize

public int maxSize

Sets the maximum size of a bubble.

CSS example:     maxSize : "2";


minSize

public int minSize

Sets the minimum size of a bubble.

CSS example:     minSize : "2";


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.