public class IlvChart.Area
extends java.lang.Object
IlvChart#getChartArea method. This component is the place where all
the drawing operations are performed (the graphical representations of the
data themselves, and the decorations). This container also contains the
Scales components. We can distinguish two areas within the chart area
component:
IlvChart.Area#getDrawRect
method.IlvChart.Area#getPlotRect method.The following figure shows the different parts of the chart area:

chartArea {
class : "ilog.views.chart.IlvChart.Area";
alignmentX : "2.0";
alignmentY : "2.0";
autoscrolls : "false";
background : "green";
backgroundPaint : "#000000";
border : "@#emptyBorder";
bottomMargin : "2";
debugGraphicsOptions : "2";
directRedrawEnabled : "false";
doubleBuffered : "false";
enabled : "false";
filledPlottingArea : "false";
focusable : "false";
focusCycleRoot : "false";
font : "sansserif-BOLD-8";
foreground : "green";
leftMargin : "2";
margins : "@#insets";
maximumSize : "0,0";
minimumSize : "0,0";
name : "<value>";
opaque : "false";
plotBackground : "#000000";
plotStyle : "@#ilvStyle";
preferredSize : "0,0";
requestFocusEnabled : "false";
rightMargin : "2";
toolTipText : "<value>";
topMargin : "2";
verifyInputWhenFocusTarget : "false";
visible : "false";
}
| Modifier and Type | Property and Description |
|---|---|
float |
alignmentX
Sets the vertical alignment. |
float |
alignmentY
Sets the horizontal alignment. |
boolean |
autoscrolls
Sets the autoscrolls property. |
java.awt.Color |
background
Sets the background color of this component. |
Paint |
backgroundPaint
Sets the background as a Paint. |
Border |
border
Sets the border of this component. |
int |
bottomMargin
Sets the bottom margin between the plotting rectangle and the chart area. |
java.lang.String |
class
Default constructor. |
int |
debugGraphicsOptions
Enables or disables diagnostic information about every graphics operation performed within the component or one of its children. |
boolean |
directRedrawEnabled
Sets the directRedraw property. |
boolean |
doubleBuffered
Sets whether the this component should use a buffer to paint. |
boolean |
enabled
Sets whether or not this component is enabled. |
boolean |
filledPlottingArea
Sets whether the plotting area is filled. |
boolean |
focusable
Sets the focusable state of this Component to the specified value. |
boolean |
focusCycleRoot
Sets whether this Container is the root of a focus traversal cycle. |
java.awt.Font |
font
Sets the font for this component. |
java.awt.Color |
foreground
Sets the foreground color of this component. |
int |
leftMargin
Sets the left margin between the plotting rectangle and the chart area. |
java.awt.Insets |
margins
Sets the interior margins between the plotting rectangle and the chart area. |
Dimension |
maximumSize
Sets the maximum size of this component to a constant value. |
Dimension |
minimumSize
Sets the minimum size of this component to a constant value. |
java.lang.String |
name
Sets the name of the component to the specified string. |
boolean |
opaque
If true the component paints every pixel within its bounds. |
Paint |
plotBackground
Sets the background paint of the plotting area. |
IlvStyle |
plotStyle
Sets the style used to fill and outline the plotting area. |
Dimension |
preferredSize
Sets the preferred size of this component. |
boolean |
requestFocusEnabled
Provides a hint as to whether or not this JComponent should get focus. |
int |
rightMargin
Sets the right margin between the plotting rectangle and the chart area. |
java.lang.String |
toolTipText
Registers the text to display in a tool tip. |
int |
topMargin
Sets the top margin between the plotting rectangle and the chart area. |
boolean |
verifyInputWhenFocusTarget
Sets the value to indicate whether input verifier for the current focus owner will be called before this component requests focus. |
boolean |
visible
Makes the component visible or invisible. |
public java.lang.String class
class : "ilog.views.chart.IlvChart.Area";public float alignmentX
alignmentX : "2.0";public float alignmentY
alignmentY : "2.0";public boolean autoscrolls
autoscrolls : "false";public java.awt.Color background
background : "green";public Paint backgroundPaint
backgroundPaint : "#000000";public Border border
border : "@#emptyBorder";EmptyBorder for an example of implementing a border.public int bottomMargin
bottomMargin : "2";marginspublic int debugGraphicsOptions
debugGraphicsOptions : "2";public boolean directRedrawEnabled
directRedraw property. When this property is set to
true, redraw requests are automatically processed instead of
being posted and executed by the drawing thread. The default value of
this property is false.
directRedrawEnabled : "false";public boolean doubleBuffered
doubleBuffered : "false";public boolean enabled
enabled : "false";public boolean filledPlottingArea
Note: The Bean property filledPlottingArea must not be
specified together with the Bean property plotStyle.
CSS example:
filledPlottingArea : "false";
public boolean focusable
focusable : "false";public boolean focusCycleRoot
focusCycleRoot : "false";public java.awt.Font font
font : "sansserif-BOLD-8";public java.awt.Color foreground
foreground : "green";public int leftMargin
leftMargin : "2";marginspublic java.awt.Insets margins
margins parameter specifies the new margins. If
this parameter is null, margins will be automatically
computed.
margins : "@#insets";Insets for an example of implementing a margins.public Dimension maximumSize
maximumSize : "0,0";public Dimension minimumSize
minimumSize : "0,0";public java.lang.String name
name : "<value>";public boolean opaque
opaque : "false";public Paint plotBackground
Note: The Bean property plotBackground must not be specified
together with the Bean property plotStyle.
CSS example:
plotBackground : "#000000";
plotStylepublic IlvStyle plotStyle
Note: The Bean property plotStyle must not be specified
together with the Bean properties plotBackground or
filledPlottingArea.
CSS example:
plotStyle : "@#ilvStyle";
See implementing class IlvStyle for an example of implementing a plotStyle.
public Dimension preferredSize
preferredSize : "0,0";public boolean requestFocusEnabled
requestFocusEnabled : "false";public int rightMargin
rightMargin : "2";marginspublic java.lang.String toolTipText
toolTipText : "<value>";public int topMargin
topMargin : "2";marginspublic boolean verifyInputWhenFocusTarget
verifyInputWhenFocusTarget : "false";public boolean visible
visible : "false";© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.