com.java4less.rchart
Class HAxisLabel
java.lang.Object
|
+--com.java4less.rchart.ChartComponent
|
+--com.java4less.rchart.AxisLabel
|
+--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;
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HAxisLabel
public HAxisLabel(java.lang.String t,
ChartColor c,
ChartFont f)
- creates the horizontal label.
- Parameters:
t
- value for he labelc
- colorf
- font