| java.lang.Object org.openi.chart.LabelGenerator
LabelGenerator | public class LabelGenerator implements CategoryItemLabelGenerator(Code) | | author: plucas author: TODO need to impement new methods of CategoryItemLabelGenerator(JFreeChart 1.0.0) |
Constructor Summary | |
public | 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. | public | LabelGenerator(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. |
LabelGenerator | public LabelGenerator(int category)(Code) | | 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.
Parameters: category - the category index (zero-based). |
LabelGenerator | public LabelGenerator(Integer category)(Code) | | 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. If the category index is null ,
the total of all items in the series is used.
Parameters: category - the category index (null permitted). |
generateColumnLabel | public String generateColumnLabel(CategoryDataset arg0, int arg1)(Code) | | |
generateLabel | public String generateLabel(CategoryDataset dataset, int series, int category)(Code) | | Generates a label for the specified item. The label is typically
a formatted version of the data value, but any text can be used.
Parameters: dataset - the dataset (null not permitted). Parameters: series - the series index (zero-based). Parameters: category - the category index (zero-based). the label (possibly null ). |
generateRowLabel | public String generateRowLabel(CategoryDataset arg0, int arg1)(Code) | | |
|
|