com.java4less.rchart
Class HAxisLabel

java.lang.Object
  extended by com.java4less.rchart.ChartComponent
      extended by com.java4less.rchart.AxisLabel
          extended by com.java4less.rchart.HAxisLabel

public class HAxisLabel
extends AxisLabel

A horizontal label is an axis label that will be draw along the horizontal axis. The following example illustrates this feature:

HAxisLabel XLabel= new HAxisLabel("million $",GraphicsProvider.getColor(ChartColor.BLACK),GraphicsProvider.getFont("Arial",ChartFont.BOLD,12));

the label must be assigned to the chart like this:

chart.XLabel=XLabel;


Field Summary
 
Fields inherited from class com.java4less.rchart.AxisLabel
color, font, title, vertical
 
Fields inherited from class com.java4less.rchart.ChartComponent
height, width, x, y
 
Constructor Summary
HAxisLabel(java.lang.String t, ChartColor c, ChartFont f)
          creates the horizontal label.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HAxisLabel

public HAxisLabel(java.lang.String t,
                  ChartColor c,
                  ChartFont f)
creates the horizontal label.

Parameters:
t - value for he label
c - color
f - font