public class IlvTreemapChartRenderer extends IlvSimpleChartRenderer
ilvTreemapChartRenderer {
class : "ilog.views.chart.renderer.IlvTreemapChartRenderer";
annotation : "@#ilvDataLabelAnnotation";
annotationClipping : "false";
annotationVisibility : "ALL";
areaColumnName : "<value>";
bottomMarginProportion : "3.0";
clippedAnnotationVisibility : "false";
colorColumnName : "<value>";
colorForNaN : "green";
colorScheme : "CONSTANT";
CSSClassesColumnName : "<value>";
focusParentMarginProportion : "3.0";
labelAlignmentX : "LEFT";
labelAlignmentY : "BOTTOM";
labelColumnName : "<value>";
labelFormat : "@#dateFormat";
leadingMarginProportion : "3.0";
legendLabelFormat : "@#dateFormat";
marginReductionFactor : "3.0";
maximumBottomMargin : "3.0";
maximumFocusParentMargin : "3.0";
maximumLeadingMargin : "3.0";
maximumTopMargin : "3.0";
maximumTrailingMargin : "3.0";
name : "<value>";
packing : "ALTERNATING";
primaryDirection : "RIGHT";
secondaryDirection : "RIGHT";
strokeThreshold : "2";
style : "@#ilvStyle";
styles[0] : "@#ilvStyle1";
styles[1] : "@#ilvStyle2";
topMarginProportion : "3.0";
trailingMarginProportion : "3.0";
useMarginsOnRoot : "false";
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. |
boolean |
annotationClipping
Determines whether annotations are clipped to fit in their corresponding rectangle. |
int |
annotationVisibility
Sets the visibility mode for annotations. |
java.lang.String |
areaColumnName
Determines the column chosen to determine the area of every object, through its name. |
double |
bottomMarginProportion
Sets the bottom margin proportion. |
java.lang.String |
class
Creates a new treemap chart renderer. |
boolean |
clippedAnnotationVisibility
Determines whether annotations that do not fit in their corresponding rectangle can be visible. |
java.lang.String |
colorColumnName
Determines the column chosen to determine the color of every rectangle, through its name. |
java.awt.Color |
colorForNaN
Assigns the color used when a value in the color column is NaN. |
ilog.views.chart.renderer.IlvColorScheme |
colorScheme
Assigns the color scheme. |
java.lang.String |
CSSClassesColumnName
Determines the column chosen to determine the CSS classes of every object, through its name. |
double |
focusParentMarginProportion
Sets the proportion for the margin that represents the parent of the focused node. |
int |
labelAlignmentX
Sets the horizontal alignment of each label within the rectangle to which it belongs. |
int |
labelAlignmentY
Sets the vertical alignment of each label within the rectangle to which it belongs. |
java.lang.String |
labelColumnName
Determines the column chosen to determine the label of every object, as shown by IlvDataLabelAnnotation , through its name. |
java.text.Format |
labelFormat
Sets the format for labels associated with rectangles. |
double |
leadingMarginProportion
Sets the leading margin proportion. |
java.text.Format |
legendLabelFormat
Sets the format of labels associated with colors, in the legend. |
double |
marginReductionFactor
Sets the margin reduction factor. |
double |
maximumBottomMargin
Sets the maximum bottom margin, in pixels. |
double |
maximumFocusParentMargin
Sets the maximum width of the margin that represents the parent of the focused node, in pixels. |
double |
maximumLeadingMargin
Sets the maximum leading margin, in pixels. |
double |
maximumTopMargin
Sets the maximum top margin, in pixels. |
double |
maximumTrailingMargin
Sets the maximum trailing margin, in pixels. |
java.lang.String |
name
Sets the name of this renderer. |
ilog.views.chart.renderer.IlvTreemapPacking |
packing
Sets the rectangle packing. |
int |
primaryDirection
Sets the primary direction of arrangement of the rectangles. |
int |
secondaryDirection
Sets the secondary direction of arrangement of the rectangles. |
int |
strokeThreshold
Specifies the minimum size of a rectangle, under which the stroke of a rendering style is not used. |
IlvStyle |
style
Sets the main style used by this renderer. |
IlvStyle[] |
styles
Sets the styles used by this renderer. |
double |
topMarginProportion
Sets the top margin proportion. |
double |
trailingMarginProportion
Sets the trailing margin proportion. |
boolean |
useMarginsOnRoot
Specifies whether the margins also apply to the outermost rectangle, that is, the root of the displayed tree of rectangles. |
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. |
This setting has an effect only when data annotations of type
IlvDataLabelAnnotation
are used.
CSS example:
labelAlignmentX : "LEFT";
Allowed values: | ||
LEFT |
Box-orientation constant used to specify the left side of a box. | |
CENTER |
The central position in an area. Used for both compass-direction constants (NORTH, etc.) and box-orientation constants (TOP, etc.). | |
RIGHT |
Box-orientation constant used to specify the right side of a box. | |
LEADING |
Identifies the leading edge of text for use with left-to-right and right-to-left languages. Used by buttons and labels. | |
TRAILING |
Identifies the trailing edge of text for use with left-to-right and right-to-left languages. Used by buttons and labels. |
public int labelAlignmentY
SwingConstants.BOTTOM
, means bottom-adjusted within the
rectangle,SwingConstants.CENTER
, means centered vertically
within the rectangle,SwingConstants.TOP
, means top-adjusted within the
rectangle.This setting has an effect only when data annotations of type
IlvDataLabelAnnotation
are used.
CSS example:
labelAlignmentY : "BOTTOM";
Allowed values: | ||
BOTTOM |
Box-orientation constant used to specify the bottom of a box. | |
CENTER |
The central position in an area. Used for both compass-direction constants (NORTH, etc.) and box-orientation constants (TOP, etc.). | |
TOP |
Box-orientation constant used to specify the top of a box. |
public java.lang.String labelColumnName
IlvDataLabelAnnotation
, through its name.
labelColumnName : "<value>";
public java.text.Format labelFormat
It specifies how objects or numbers, that are retrieved as values from the label column, are converted to strings.
This setting has an effect only when data annotations of type
IlvDataLabelAnnotation
are used.
CSS example:
labelFormat : "@#dateFormat";
See implementing class DateFormat
for an example of implementing a labelFormat.
public double leadingMarginProportion
The leading margin is either the left margin or the right margin: it is the right
margin if the chart orientation is right-to-left and the primary
direction is TRAILING
; otherwise it is the left margin.
The value is the proportion relative to a rectangle width. It
must be between 0 and 1. Typical values are between 0.01 (1 percent) and
0.05 (5 percent).
CSS example:
leadingMarginProportion : "3.0";
primaryDirection
public java.text.Format legendLabelFormat
It specifies how objects or numbers, that correspond to values of the
color column, are converted to strings.
CSS example:
legendLabelFormat : "@#dateFormat";
See implementing class DateFormat
for an example of implementing a legendLabelFormat.
public double marginReductionFactor
It describes the margin proportions of a nested rectangle, compared to the margin proportions of the rectangle that contains it.
The value must be >=0. The value 1 (the default) specifies that
the margin proportions are independent of the nesting depth. A value
between 0 and 1 will make the margins of inner, nested rectangles
thinner.
CSS example:
marginReductionFactor : "3.0";
public double maximumBottomMargin
maximumBottomMargin : "3.0";
public double maximumFocusParentMargin
maximumFocusParentMargin : "3.0";
public double maximumLeadingMargin
The leading margin is either the left margin or the right margin: it is the right
margin if the chart's orientation is right-to-left and the primary
direction is TRAILING
; otherwise it is the left margin.
CSS example:
maximumLeadingMargin : "3.0";
primaryDirection
public double maximumTopMargin
maximumTopMargin : "3.0";
public double maximumTrailingMargin
The trailing margin is either the right margin or the left margin: it's
the left margin if the chart's orientation is right-to-left and the primary
direction is TRAILING
; otherwise it is the right margin.
CSS example:
maximumTrailingMargin : "3.0";
primaryDirection
public java.lang.String name
name : "<value>";
public ilog.views.chart.renderer.IlvTreemapPacking packing
packing : "ALTERNATING";
Allowed values: | ||
ALTERNATING |
The default type of packing: The rectangles are arranged according to the sort order given by the model, and in alternating directions at the different levels. | |
SQUARIFIED_CORNER |
Type of packing: The rectangles are arranged to be near-squares. Big rectangles are in one corner, the small rectangles are in the opposite corner. This type of packing is suitable when, at the lowest level, there are many small rectangles. | |
BAR |
Type of packing: The rectangles are arranged to have all the same width but different heights. The result resembles a bar chart. |
public int primaryDirection
SwingConstants.RIGHT
, means left-to-right
arrangement,SwingConstants.LEFT
, means right-to-left
arrangement,SwingConstants.TRAILING
, means left-to-right
or right-to-left arrangement, according to the locale,SwingConstants.TOP
, means bottom-to-top
arrangement,SwingConstants.BOTTOM
, means top-to-bottom
arrangement.primaryDirection : "RIGHT";
Allowed values: | ||
RIGHT |
Box-orientation constant used to specify the right side of a box. | |
LEFT |
Box-orientation constant used to specify the left side of a box. | |
TRAILING |
Identifies the trailing edge of text for use with left-to-right and right-to-left languages. Used by buttons and labels. | |
TOP |
Box-orientation constant used to specify the top of a box. | |
BOTTOM |
Box-orientation constant used to specify the bottom of a box. |
public int secondaryDirection
SwingConstants.RIGHT
, means left-to-right
arrangement,SwingConstants.LEFT
, means right-to-left
arrangement,SwingConstants.TRAILING
, means left-to-right
or right-to-left arrangement, according to the locale,SwingConstants.TOP
, means bottom-to-top
arrangement,SwingConstants.BOTTOM
, means top-to-bottom
arrangement.secondaryDirection : "RIGHT";
Allowed values: | ||
RIGHT |
Box-orientation constant used to specify the right side of a box. | |
LEFT |
Box-orientation constant used to specify the left side of a box. | |
TRAILING |
Identifies the trailing edge of text for use with left-to-right and right-to-left languages. Used by buttons and labels. | |
TOP |
Box-orientation constant used to specify the top of a box. | |
BOTTOM |
Box-orientation constant used to specify the bottom of a box. |
public int strokeThreshold
The default value is 0
.
CSS example:
strokeThreshold : "2";
public IlvStyle style
IlvTreemapChartRenderer
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.
public IlvStyle[] styles
styles[0] : "@#ilvStyle1";
styles[1] : "@#ilvStyle2";
IlvStyle
for an example of implementing a styles.public double topMarginProportion
The value is the proportion relative to a rectangle height. It
must be between 0 and 1. Typical values are between 0.01 (1 percent) and
0.05 (5 percent).
CSS example:
topMarginProportion : "3.0";
public double trailingMarginProportion
The trailing margin is either the right margin or the left margin: it's
the left margin if the chart orientation is right-to-left and the primary
direction is TRAILING
; otherwise it is the right margin.
The value is the proportion relative to a rectangle width. It
must be between 0 and 1. Typical values are between 0.01 (1 percent) and
0.05 (5 percent).
CSS example:
trailingMarginProportion : "3.0";
primaryDirection
public boolean useMarginsOnRoot
true
.
useMarginsOnRoot : "false";
public boolean visible
visible : "false";
public boolean visibleInLegend
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.