Package org.jfree.data.statistics
Interface StatisticalCategoryDataset
- All Superinterfaces:
CategoryDataset,Dataset,KeyedValues2D,Values2D
- All Known Implementing Classes:
BioStatisticalCategoryDataset,DefaultStatisticalCategoryDataset
public interface StatisticalCategoryDataset extends CategoryDataset
A category dataset that defines a median and standard deviation value for
each item.
- Author:
- Pascal Collet
-
Method Summary
Modifier and Type Method Description booleandrawOnlyTopOfErrorBar()doublegetErrorBarLen()NumbergetMeanValue(int row, int column)Returns the mean value for an item.NumbergetMeanValue(Comparable rowKey, Comparable columnKey)Returns the mean value for an item.NumbergetStdDevValue(int row, int column)Returns the standard deviation value for an item.NumbergetStdDevValue(Comparable rowKey, Comparable columnKey)Returns the standard deviation value for an item.voidsetDrawOnlyTopOfErrorBar(boolean value)voidsetErrorBarLen(double value)Methods inherited from interface org.jfree.data.Dataset
addChangeListener, getGroup, removeChangeListener, setGroupMethods inherited from interface org.jfree.data.KeyedValues2D
getColumnIndex, getColumnKey, getColumnKeys, getRowIndex, getRowKey, getRowKeys, getValueMethods inherited from interface org.jfree.data.Values2D
getColumnCount, getRowCount, getValue
-
Method Details
-
drawOnlyTopOfErrorBar
boolean drawOnlyTopOfErrorBar() -
setDrawOnlyTopOfErrorBar
void setDrawOnlyTopOfErrorBar(boolean value) -
getErrorBarLen
double getErrorBarLen() -
setErrorBarLen
void setErrorBarLen(double value) -
getMeanValue
Returns the mean value for an item.- Parameters:
row- the row index (zero-based).column- the column index (zero-based).- Returns:
- the mean value.
-
getMeanValue
Returns the mean value for an item.- Parameters:
rowKey- the row key.columnKey- the columnKey.- Returns:
- the mean value.
-
getStdDevValue
Returns the standard deviation value for an item.- Parameters:
row- the row index (zero-based).column- the column index (zero-based).- Returns:
- the standard deviation.
-
getStdDevValue
Returns the standard deviation value for an item.- Parameters:
rowKey- the row key.columnKey- the columnKey.- Returns:
- the standard deviation.
-