public interface Plotter
Modifier and Type | Field and Description |
---|---|
static int |
ADD |
static int |
NORMAL |
static int |
OVERLAY |
static int |
STACK |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear all the data in the plot
|
List |
getData()
Returns the list of data objects added to this plotter
|
void |
plot(Object data,
int mode)
Plot a given data set.
|
void |
plot(Object data,
int mode,
Object style,
String options) |
void |
remove(Object data)
Remove a data item from a plot
|
Component |
viewable()
Returns a Component that can be used to display a Plotter in some other swing
component.
|
static final int NORMAL
static final int OVERLAY
static final int ADD
static final int STACK
void plot(Object data, int mode)
data
- The data to be plotted. Must be of the class specified when
the plotter was created.options
- One of (NORMAL, OVERLAY, ADD, STACK)void remove(Object data)
void clear()
Component viewable()
List getData()
Copyright © 2014. All Rights Reserved.