public interface CategorySeriesLabelGenerator
CategoryDataset
.
Classes that implement this interface should be either (a) immutable, or
(b) cloneable via the PublicCloneable
interface (defined in
the JCommon class library). This provides a mechanism for the referring
renderer to clone the generator if necessary.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateLabel(CategoryDataset dataset,
int series)
Generates a label for the specified series.
|
java.lang.String generateLabel(CategoryDataset dataset, int series)
dataset
- the dataset (null
not permitted).series
- the series index.