public class JFreeScatterPeriodChartData extends JFreeChartData<JFreeScatterPlot> implements ScatterPeriodChartData<JFreeScatterPlot>
Constructor and Description |
---|
JFreeScatterPeriodChartData() |
Modifier and Type | Method and Description |
---|---|
JFreeScatterPlot |
addSeries(java.lang.String label,
java.awt.Color c)
Add a data series to the plot.
|
JFreeChart |
getJFreeChart() |
int |
getNSplits() |
SplitTimePeriod |
getPeriod() |
JFreeScatterPlot |
makeDataSet(int i)
make a dataset
|
void |
setPeriod(SplitTimePeriod period,
int nsplit) |
void |
setXAxis(java.lang.String text) |
void |
setYAxis(java.lang.String text) |
createPNG, createPNG, createPNG, getQuantityName, getSize, setGraphical, setQuantityName, setTitle, writeGraphics
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createPNG, createPNG, getQuantityName, getSize, setGraphical, setQuantityName, setTitle, writeGraphics
public JFreeScatterPlot makeDataSet(int i) throws java.lang.Exception
ChartData
makeDataSet
in interface ChartData<JFreeScatterPlot>
i
- initial sizejava.lang.Exception
public JFreeChart getJFreeChart()
getJFreeChart
in class JFreeChartData<JFreeScatterPlot>
public void setPeriod(SplitTimePeriod period, int nsplit)
setPeriod
in interface ScatterPeriodChartData<JFreeScatterPlot>
public SplitTimePeriod getPeriod()
getPeriod
in interface ScatterPeriodChartData<JFreeScatterPlot>
public int getNSplits()
getNSplits
in interface ScatterPeriodChartData<JFreeScatterPlot>
public JFreeScatterPlot addSeries(java.lang.String label, java.awt.Color c)
ScatterPeriodChartData
addSeries
in interface ScatterPeriodChartData<JFreeScatterPlot>
label
- String
label for series.c
- Color
can be null.ScatterPeriodPlot
public void setXAxis(java.lang.String text)
setXAxis
in interface ScatterPeriodChartData<JFreeScatterPlot>
public void setYAxis(java.lang.String text)
setYAxis
in interface ScatterPeriodChartData<JFreeScatterPlot>