package edu.csusb.danby.util;
import java.awt.*;

/**
* methods to be called by GraphMethods methods
* direction should be either GraphMethods.HORIZONTAL
* or GraphMethods.VERTICAL
*/ 
public interface GraphInfo {

public double getMin(int direction);
public double getMax(int direction);
public double scale( double y , int direction);
public Font getScaleFont(int direction);
public Color getScaleColor(int direction);
public String getScaleLabel(int direction);
public Color getScaleFontColor(int direction);
public int getScalePosition(int direction);
/**
* grid should be set by call to graphMethods.findGrid()
*/
public float[] getGrid(int direction);
public int getGraphSize(int direction);
/**
* return topOffset for VERTICAL, leftOffset for HORIZONTAL
*/
public int getOffset(int direction); 
public Component getComponent();
}
