JIDE 3.5.15

com.jidesoft.chart.model
Interface Chartable

All Superinterfaces:
Comparable<Chartable>
All Known Subinterfaces:
Chartable3D, ChartableND
All Known Implementing Classes:
ChartImage, ChartLabel, ChartPoint, ChartPoint3D, ChartPointND, ChartPointOHLC, ModelMorpher.TransitionPoint, RectangularPoint, TransposingChartPoint

public interface Chartable
extends Comparable<Chartable>

A Chartable class has a getX() and a getY() method that together lend an object to being chartable in a two-dimensional chart.

The comparison of Chartable points uses the x axis values, so that a natural sort results them being ordered in ascending order.

Author:
Simon White (swhite@catalysoft.com)

Method Summary
 Positionable getX()
          Gets the x coordinate of the Chartable object
 Positionable getY()
          Gets the y coordinate of the Chartable object
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getX

Positionable getX()
Gets the x coordinate of the Chartable object

Returns:
the x coordinate

getY

Positionable getY()
Gets the y coordinate of the Chartable object

Returns:
the y coordinate

JIDE 3.5.15