org.jfree.chart.labels
public interface PieSectionLabelGenerator
Method Summary | |
---|---|
AttributedString | generateAttributedSectionLabel(PieDataset dataset, Comparable key)
Generates an attributed label for the specified series, or
null if no attributed label is available (in which case,
the string returned by
PieSectionLabelGenerator will
provide the fallback). |
String | generateSectionLabel(PieDataset dataset, Comparable key)
Generates a label for a pie section.
|
null
if no attributed label is available (in which case,
the string returned by
PieSectionLabelGenerator will
provide the fallback). Only certain attributes are recognised by the
code that ultimately displays the labels:
Parameters: dataset the dataset. key the key.
Returns: An attributed label (possibly null
).
Parameters: dataset the dataset (null
not permitted). key the section key (null
not permitted).
Returns: The label (possibly null
).