-
- All Known Implementing Classes:
StandardCategorySeriesLabelGenerator
public interface CategorySeriesLabelGenerator
A generator that creates labels for the series in aCategoryDataset.Classes that implement this interface should be either (a) immutable, or (b) cloneable via the
PublicCloneableinterface (defined in the JCommon class library). This provides a mechanism for the referring renderer to clone the generator if necessary.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgenerateLabel(CategoryDataset dataset, int series)Generates a label for the specified series.
-
-
-
Method Detail
-
generateLabel
String generateLabel(CategoryDataset dataset, int series)
Generates a label for the specified series.- Parameters:
dataset- the dataset (nullnot permitted).series- the series index.- Returns:
- A series label.
-
-