com.representqueens.spark
Class LineGraph
java.lang.Object
com.representqueens.spark.LineGraph
public class LineGraph
- extends Object
Linegraph generation.
- Version:
- $Revision: 1.7 $ $Date: 2007-03-11 20:40:58 $
- Author:
- Larry Ogrodnek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SIZE
public static final SizeParams DEFAULT_SIZE
DEFAULT_COLOR
public static final Color DEFAULT_COLOR
LineGraph
public LineGraph()
createGraph
public static BufferedImage createGraph(Number[] data)
- Create a Linegraph using defaults.
- Parameters:
data
- Array of Number Objects to graph.
- Returns:
- BufferedImage containing a Linegraph of data.
createGraph
public static BufferedImage createGraph(Number[] data,
SizeParams size,
Color color)
- Create a Linegraph.
- Parameters:
data
- Array of Number Objects to graph.size
- SizeParams specifying graph size attributes.color
- graph Color.
- Returns:
- BufferedImage containing a Linegraph of data.
createGraph
public static BufferedImage createGraph(Number[] data,
SizeParams size,
Color color,
Color background)
- Create a Linegraph.
- Parameters:
data
- Array of Number Objects to graph.size
- SizeParams specifying graph size attributes.color
- graph Color.background
- background color, or null for transparent.
- Returns:
- BufferedImage containing a Linegraph of data.