All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----MSBChart.ChartComponent | +----MSBChart.AxisLabel | +----MSBChart.VAxisLabel
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;
public VAxisLabel(String t, Color c, Font f)
creates the vertical label.
public void draw(Graphics g)
instructs the label to draw itself at the position specified by the ChartComponent fiels (x,y,width,height).
All Packages Class Hierarchy This Package Previous Next Index