|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openi.chart.LabelGenerator
Constructor Summary | |
LabelGenerator(int category)
Creates a new label generator that displays the item value and a percentage relative to the value in the same series for the specified category. |
|
LabelGenerator(java.lang.Integer category)
Creates a new label generator that displays the item value and a percentage relative to the value in the same series for the specified category. |
Method Summary | |
java.lang.String |
generateLabel(org.jfree.data.category.CategoryDataset dataset,
int series,
int category)
Generates a label for the specified item. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LabelGenerator(int category)
category
- the category index (zero-based).public LabelGenerator(java.lang.Integer category)
null
,
the total of all items in the series is used.
category
- the category index (null
permitted).Method Detail |
public java.lang.String generateLabel(org.jfree.data.category.CategoryDataset dataset, int series, int category)
generateLabel
in interface org.jfree.chart.labels.CategoryLabelGenerator
dataset
- the dataset (null
not permitted).series
- the series index (zero-based).category
- the category index (zero-based).
null
).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |