public class LineGraph extends Object
| Modifier and Type | Field and Description |
|---|---|
static Color |
DEFAULT_COLOR |
static SizeParams |
DEFAULT_SIZE |
| Constructor and Description |
|---|
LineGraph() |
| Modifier and Type | Method and Description |
|---|---|
static BufferedImage |
createGraph(Number[] data)
Create a Linegraph using defaults.
|
static BufferedImage |
createGraph(Number[] data,
SizeParams size,
Color color)
Create a Linegraph.
|
static BufferedImage |
createGraph(Number[] data,
SizeParams size,
Color color,
Color background)
Create a Linegraph.
|
public static final SizeParams DEFAULT_SIZE
public static final Color DEFAULT_COLOR
public static BufferedImage createGraph(Number[] data)
data - Array of Number Objects to graph.public static BufferedImage createGraph(Number[] data, SizeParams size, Color color)
data - Array of Number Objects to graph.size - SizeParams specifying graph size attributes.color - graph Color.public static BufferedImage createGraph(Number[] data, SizeParams size, Color color, Color background)
data - Array of Number Objects to graph.size - SizeParams specifying graph size attributes.color - graph Color.background - background color, or null for transparent.