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 boolean
drawOnlyTopOfErrorBar()
double
getErrorBarLen()
Number
getMeanValue(int row, int column)
Returns the mean value for an item.Number
getMeanValue(Comparable rowKey, Comparable columnKey)
Returns the mean value for an item.Number
getStdDevValue(int row, int column)
Returns the standard deviation value for an item.Number
getStdDevValue(Comparable rowKey, Comparable columnKey)
Returns the standard deviation value for an item.void
setDrawOnlyTopOfErrorBar(boolean value)
void
setErrorBarLen(double value)
Methods inherited from interface org.jfree.data.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
Methods inherited from interface org.jfree.data.KeyedValues2D
getColumnIndex, getColumnKey, getColumnKeys, getRowIndex, getRowKey, getRowKeys, getValue
Methods 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.
-