net.sf.basedb.util.plot
Class HistogramPlot.HistogramDataset
java.lang.Object
org.jfree.data.general.AbstractDataset
org.jfree.data.general.AbstractSeriesDataset
net.sf.basedb.util.plot.HistogramPlot.HistogramDataset
- All Implemented Interfaces:
- ObjectInputValidation, Serializable, Cloneable, EventListener, Dataset, SeriesChangeListener, SeriesDataset, IntervalXYDataset, XYDataset
- Enclosing class:
- HistogramPlot
private static class HistogramPlot.HistogramDataset
- extends AbstractSeriesDataset
- implements IntervalXYDataset
An dataset implementation for histogram data that allows
us to send data to JFreeChart the way we want.
Method Summary |
void |
addSeries(HistogramPlot.HistogramSeries s)
|
DomainOrder |
getDomainOrder()
|
Number |
getEndX(int series,
int item)
|
double |
getEndXValue(int series,
int item)
|
Number |
getEndY(int series,
int item)
|
double |
getEndYValue(int series,
int item)
|
int |
getItemCount(int series)
|
int |
getSeriesCount()
|
Comparable |
getSeriesKey(int series)
|
Number |
getStartX(int series,
int item)
|
double |
getStartXValue(int series,
int item)
|
Number |
getStartY(int series,
int item)
|
double |
getStartYValue(int series,
int item)
|
Number |
getX(int series,
int item)
|
double |
getXValue(int series,
int item)
|
Number |
getY(int series,
int item)
|
double |
getYValue(int series,
int item)
|
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
all
private final List<HistogramPlot.HistogramSeries> all
HistogramPlot.HistogramDataset
private HistogramPlot.HistogramDataset()
getSeriesCount
public int getSeriesCount()
- Specified by:
getSeriesCount
in interface SeriesDataset
- Specified by:
getSeriesCount
in class AbstractSeriesDataset
getSeriesKey
public Comparable getSeriesKey(int series)
- Specified by:
getSeriesKey
in interface SeriesDataset
- Specified by:
getSeriesKey
in class AbstractSeriesDataset
getDomainOrder
public DomainOrder getDomainOrder()
- Specified by:
getDomainOrder
in interface XYDataset
getItemCount
public int getItemCount(int series)
- Specified by:
getItemCount
in interface XYDataset
getX
public Number getX(int series,
int item)
- Specified by:
getX
in interface XYDataset
getXValue
public double getXValue(int series,
int item)
- Specified by:
getXValue
in interface XYDataset
getY
public Number getY(int series,
int item)
- Specified by:
getY
in interface XYDataset
getYValue
public double getYValue(int series,
int item)
- Specified by:
getYValue
in interface XYDataset
getEndX
public Number getEndX(int series,
int item)
- Specified by:
getEndX
in interface IntervalXYDataset
getEndXValue
public double getEndXValue(int series,
int item)
- Specified by:
getEndXValue
in interface IntervalXYDataset
getEndY
public Number getEndY(int series,
int item)
- Specified by:
getEndY
in interface IntervalXYDataset
getEndYValue
public double getEndYValue(int series,
int item)
- Specified by:
getEndYValue
in interface IntervalXYDataset
getStartX
public Number getStartX(int series,
int item)
- Specified by:
getStartX
in interface IntervalXYDataset
getStartXValue
public double getStartXValue(int series,
int item)
- Specified by:
getStartXValue
in interface IntervalXYDataset
getStartY
public Number getStartY(int series,
int item)
- Specified by:
getStartY
in interface IntervalXYDataset
getStartYValue
public double getStartYValue(int series,
int item)
- Specified by:
getStartYValue
in interface IntervalXYDataset
addSeries
public void addSeries(HistogramPlot.HistogramSeries s)