com.java4less.rchart
Class ChartComponent

java.lang.Object
  |
  +--com.java4less.rchart.ChartComponent
Direct Known Subclasses:
Axis, AxisLabel, Legend, Plotter, Title

public class ChartComponent
extends java.lang.Object

A chart component is something that must be drawn on the chart area and it has a position and a size. The position and size of the components are calculated by the Chart automatically. For example, the title is always at the position 0,0 and ocupies 10% of the height of the chart.


Field Summary
 int height
          this is the height coordinate of this component.
 int width
          this is the width coordinate of this component.
 int x
          this is the x coordinate of the left top corner of this component.
 int y
          this is the y coordinate of the left top corner of this component.
 
Constructor Summary
ChartComponent()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public int x
this is the x coordinate of the left top corner of this component.

y

public int y
this is the y coordinate of the left top corner of this component.

height

public int height
this is the height coordinate of this component.

width

public int width
this is the width coordinate of this component.
Constructor Detail

ChartComponent

public ChartComponent()