-
- All Known Implementing Classes:
BubbleXYItemLabelGenerator,HighLowItemLabelGenerator,IntervalXYItemLabelGenerator,StandardXYItemLabelGenerator,SymbolicXYItemLabelGenerator
public interface XYItemLabelGenerator
Interface for a label generator for plots that use data from anXYDataset.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgenerateLabel(XYDataset dataset, int series, int item)Generates a label for the specified item.
-
-
-
Method Detail
-
generateLabel
String generateLabel(XYDataset dataset, int series, int item)
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 (nullnot permitted).series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The label (possibly
null).
-
-