com.java4less.rchart
Class VAxisLabel
java.lang.Object
|
+--com.java4less.rchart.ChartComponent
|
+--com.java4less.rchart.AxisLabel
|
+--com.java4less.rchart.VAxisLabel
- public class VAxisLabel
- extends AxisLabel
A vertical label is an axis label that will be displayed along the vertical axis. The following example illustrates this feature:
com.java4less.rchart.VAxisLabel YLabel= new VAxisLabel("Brutto",java.awt.Color.white,new Font("Arial",Font.BOLD,14));
the label must be assigned to the chart like this:
chart.YLabel=YLabel;
Constructor Summary |
VAxisLabel(java.lang.String t,
java.awt.Color c,
java.awt.Font f)
creates the vertical label. |
Method Summary |
void |
draw(java.awt.Graphics g)
instructs the label to draw itself at the position specified by the ChartComponent fiels (x,y,width,height). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VAxisLabel
public VAxisLabel(java.lang.String t,
java.awt.Color c,
java.awt.Font f)
- creates the vertical label.
draw
public void draw(java.awt.Graphics g)
- instructs the label to draw itself at the position specified by the ChartComponent fiels (x,y,width,height).
- Overrides:
draw
in class AxisLabel