|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface CategoryDataset
The interface for a dataset with one or more series, and values associated with "categories".
The categories are represented by any Java object, with the category label being provided by the toString() method.
The JFreeChart class library uses this interface to obtain data for bar charts and line charts.
| Method Summary | |
|---|---|
java.util.List |
getCategories()
Returns a list of the categories in the dataset. |
int |
getCategoryCount()
Returns the number of categories in the dataset. |
java.lang.Number |
getValue(int series,
java.lang.Object category)
Returns the value for a series and category. |
| Methods inherited from interface com.jrefinery.data.SeriesDataset |
|---|
getSeriesCount, getSeriesName |
| Methods inherited from interface com.jrefinery.data.Dataset |
|---|
addChangeListener, removeChangeListener |
| Method Detail |
|---|
int getCategoryCount()
java.util.List getCategories()
java.lang.Number getValue(int series,
java.lang.Object category)
series - The series (zero-based index).category - The category.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||