public class IlvPieChartRenderer extends IlvSimpleCompositeChartRenderer
The following figure illustrates the representation modes available for a pie renderer: as a pie on the left, as a doughnut (with a hole size of 25) on the right.
ilvPieChartRenderer {
class : "ilog.views.chart.renderer.IlvPieChartRenderer";
annotation : "@#ilvDataLabelAnnotation";
holeSize : "2";
name : "<value>";
strokeOn : "false";
styles[0] : "@#ilvStyle1";
styles[1] : "@#ilvStyle2";
visible : "false";
visibleInLegend : "false";
YAxisIdx : "2";
}
Modifier and Type | Property and Description |
---|---|
IlvDataAnnotation |
annotation
Specifies a global annotation for all the data sets displayed by this renderer. |
java.lang.String |
class
Creates a new pie chart renderer. |
int |
holeSize
Sets the size of the hole in a doughnut chart. |
java.lang.String |
name
Sets the name of this renderer. |
boolean |
strokeOn
Specifies whether the outline of the slices is drawn. |
IlvStyle[] |
styles
Sets the styles used by the child renderers. |
boolean |
visible
Toggles the visibility of this renderer. |
boolean |
visibleInLegend
Indicates whether the renderer appears in the legend. |
int |
YAxisIdx
Connects the specified renderer to the specified ordinate axis. |
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";
public int YAxisIdx
YAxisIdx : "2";
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.