All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class MSBChart.VAxisLabel

java.lang.Object
   |
   +----MSBChart.ChartComponent
           |
           +----MSBChart.AxisLabel
                   |
                   +----MSBChart.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:

MSBChart.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 Index

 o VAxisLabel(String, Color, Font)

Method Index

 o draw(Graphics)

Constructors

 o VAxisLabel
 public VAxisLabel(String t,
                   Color c,
                   Font f)
creates the vertical label.

Methods

 o draw
 public void draw(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

All Packages  Class Hierarchy  This Package  Previous  Next  Index