Package org.jfree.chart.labels
Interface PieSectionLabelGenerator
- All Known Implementing Classes:
StandardPieItemLabelGenerator
public interface PieSectionLabelGenerator
Interface for a label generator for plots that use data from a
PieDataset.-
Method Summary
Modifier and Type Method Description StringgenerateSectionLabel(PieDataset dataset, Comparable key)Generates a label for a pie section.
-
Method Details
-
generateSectionLabel
Generates a label for a pie section.- Parameters:
dataset- the dataset (nullnot permitted).key- the section key (nullnot permitted).- Returns:
- The label (possibly
null).
-