Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

This is the class all chart components are derived from. 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()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD