CategoryLabelGenerator
abstract class

The interface that must be implemented by a class that generates
category labels. A default implementation is provided by
StandardCategoryLabelGenerator. The dataset is passed to the label
generating methods, so that labels can (optionally) incorporate some
information from the dataset.