public class JFreeScatterPlot extends java.lang.Object implements ScatterPeriodPlot
| Constructor and Description |
|---|
JFreeScatterPlot(java.lang.String label,
SplitTimePeriod period,
int nsplit) |
| Modifier and Type | Method and Description |
|---|---|
void |
addData(Plot plot)
add the data from another plot of the same type as this one.
|
<D> void |
addData(RangeMapper<D> x,
RangeMapper<D> y,
D object)
Basic method for mapping an object into the plot.
|
void |
addPoint(float x,
float y) |
void |
scale(float scale)
rescale all the data by a factor
|
void |
setLabel(java.lang.String key) |
public JFreeScatterPlot(java.lang.String label,
SplitTimePeriod period,
int nsplit)
public <D> void addData(RangeMapper<D> x, RangeMapper<D> y, D object) throws InvalidTransformException
ScatterPeriodPlotNote that the same interface can be used to map individual records or to query a factory for a required period.
addData in interface ScatterPeriodPlotx - A RangeMapper to generate the X coordinatey - A RangeMapper to generate the Y coordinateInvalidTransformExceptionpublic void setLabel(java.lang.String key)
setLabel in interface ScatterPeriodPlotpublic void scale(float scale)
Plotpublic void addPoint(float x,
float y)
addPoint in interface ScatterPeriodPlot