All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.awt.Component | +----java.awt.Canvas | +----jclass.bwt.JCComponent | +----jclass.chart.ChartCanvas | +----jclass.chart.JCLegend
Name | Method |
---|---|
IsShowing | If true, the ChartCanvas will appear on the screen. If false, it will not appear on the screen. (Note that legend, header, footer and chart area are all ChartCanvas instances). Default value is false. |
BorderType | Determines the style of border drawn around the ChartCanvas. Valid values come from BWTEnum, and include SHADOW_NONE, SHADOW_ETCHED_IN, SHADOW_ETCHED_OUT, SHADOW_IN, SHADOW_OUT, SHADOW_PLAIN, SHADOW_FRAME_IN, SHADOW_FRAME_OUT. (Note that legend, header, footer and chart area are all ChartCanvas instances). Default value is BWTEnum.SHADOW_IN. |
BorderWidth | The BorderWidth property determines the width of the border drawn around the canvas. (Note that legend, header, footer and chart area are all ChartCanvas instances). The default value is 2. |
Anchor | The Anchor property determines the position of the legend relative to the ChartArea. Valid values include JCLegend.NORTH, JCLegend.SOUTH, JCLegend.EAST, JCLegend.WEST, JCLegend.NORTHWEST, JCLegend.SOUTHWEST, JCLegend.NORTHEAST and JCLegend.SOUTHEAST. The default value is JCLegend.EAST. |
Orientation | The Orientation property determines how legend information is laid out. Valid values include JCLegend.VERTICAL and JCLegend.HORIZONTAL. The default value is JCLegend.VERTICAL. |
Top | The Top property determines the location of the top of the ChartCanvas. The default value is calculated. |
TopIsDefault | The TopIsDefault property determines whether the top position of the chart canvas is calculated by Chart (true) or taken from the Top property (false). The default value is true. |
Left | The Left property determines the location of the left of the ChartCanvas. The default value is calculated. |
LeftIsDefault | The LeftIsDefault property determines whether the left position of the chart canvas is calculated by Chart (true) or taken from the Left property (false). The default value is true. |
Width | The Width property determines the width of the ChartCanvas. The default value is calculated. |
WidthIsDefault | The WidthIsDefault property determines whether the width of the chart canvas is calculated by Chart (true) or taken from the Width property (false). The default value is true. |
Height | The Height property determines the height of the ChartCanvas. The default value is calculated. |
HeightIsDefault | The HeightIsDefault property determines whether the height of the chart canvas is calculated by Chart (true) or taken from the Height property (false). The default value is true. |
public static final int NORTHSOUTH
public static final int SOUTHEAST
public static final int EASTWEST
public static final int WESTNORTHEAST
public static final int NORTHEASTNORTHWEST
public static final int NORTHWESTSOUTHEAST
public static final int SOUTHEASTSOUTHWEST
public static final int SOUTHWESTNORTHSOUTH_MASK
public static final int NORTHSOUTH_MASKEASTWEST_MASK
public static final int EASTWEST_MASKHORIZONTAL
public static final int HORIZONTALVERTICAL
public static final int VERTICAL
public JCLegend()
public int getAnchor()
public int getOrientation()
public synchronized void setAnchor(int a)
public synchronized void setOrientation(int orient)
public void recalc()
public boolean getChanged()
public synchronized void paintComponent(Graphics gc)
public Dimension preferredSize()
All Packages Class Hierarchy This Package Previous Next Index