All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----jclass.chart.TrackChange | +----jclass.chart.ChartRegion | +----jclass.chart.ChartText
Name | Method |
---|---|
Font | The Font property determines what font is used to render text inside the chart region. Note that the Font property is inherited from the parent ChartCanvas. |
Foreground | The Foreground property determines the foreground color used to draw inside the chart region. Note that the Foreground property is inherited from the parent ChartCanvas. |
Background | The Background property determines the foreground color used to draw inside the chart region. Note that the Background property is inherited from the parent ChartCanvas. |
Top | The Top property determines the location of the top of the ChartRegion. The default value is calculated. |
TopIsDefault | The TopIsDefault property determines whether the top position of the chart region 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 ChartRegion. The default value is calculated. |
LeftIsDefault | The LeftIsDefault property determines whether the left position of the chart region 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 ChartRegion. The default value is calculated. |
WidthIsDefault | The WidthIsDefault property determines whether the width of the chart region 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 ChartRegion. The default value is calculated. |
HeightIsDefault | The HeightIsDefault property determines whether the height of the chart region is calculated by Chart (true) or taken from the Height property (false). The default value is true. |
BorderType | Determines the style of border drawn around the ChartRegion. 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. The default value is BWTEnum.SHADOW_IN. |
BorderWidth | The BorderWidth property determines the width of the border drawn around the region. The default value is 2. |
Rotation | The Rotation property controls the rotation of the label. Valid values include ChartText.DEG_90, ChartText.DEG_180, ChartText.DEG_270 and ChartText.DEG_0. The default value is ChartText.DEG_0. |
Adjust | The Adjust property determines how text is justified (positioned) in the label. Valid values include ChartText.LEFT, ChartText.CENTER and ChartText.RIGHT. The default value is ChartText.LEFT. |
Text | The Text property is a string property that represents the text to be displayed inside the chart label. In some cases, the Text property is used to create a JCString instance. Default value is " " (empty string). |
IsShowing |
public static final int LEFTCENTER
public static final int CENTERRIGHT
public static final int RIGHTDEG_0
public static final int DEG_0DEG_90
public static final int DEG_90DEG_180
public static final int DEG_180DEG_270
public static final int DEG_270
public ChartText()
public ChartText(ChartCanvas p, String lab, boolean jcstring)
public ChartText(ChartCanvas p, JCString lab)
public void draw(Graphics gc)
public synchronized void setRotation(int rot)
public int getRotation()
public int getAdjust()
public synchronized void setAdjust(int justify)
public String getText()
public synchronized void setText(String nc)
public synchronized void setText(String nc, boolean jcs)
public void recalc()
public synchronized void setParent(ChartCanvas p)
All Packages Class Hierarchy This Package Previous Next Index