ilog.views.chart.renderer
Class IlvSinglePieRenderer

ilog.views.chart.IlvChartRenderer
      extended by ilog.views.chart.renderer.IlvSingleChartRenderer
          extended by ilog.views.chart.renderer.IlvSinglePieRenderer

public class IlvSinglePieRenderer
extends IlvSingleChartRenderer

Renders a data set with a pie chart. The IlvSinglePieRenderer instances are used by the IlvPieChartRenderer class to display several data sets.

CSS example:

ilvSinglePieRenderer {
    class : "ilog.views.chart.renderer.IlvSinglePieRenderer";
    annotation : "@#ilvDataLabelAnnotation";
    name : "<value>";
    strokeOn : "false";
    style : "@#ilvStyle";
    styles[0] : "@#ilvStyle1";
    styles[1] : "@#ilvStyle2";
    visible : "false";
    visibleInLegend : "false";
}


Property Summary
 IlvDataAnnotation annotation
          
Specifies a global annotation for all the data sets displayed by this renderer.
 java.lang.String class
          
Creates a new pie renderer.
 java.lang.String name
          
Sets the name of this renderer.
 boolean strokeOn
          
Specifies whether the outline of the slices is drawn.
 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 pie renderer.

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


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.


name

public java.lang.String name

Sets the name of this renderer.

CSS example:     name : "<value>";


strokeOn

public boolean strokeOn

Specifies whether the outline of the slices is drawn.

CSS example:     strokeOn : "false";


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.