org.jfree.chart.labels

Interface PieToolTipGenerator

public interface PieToolTipGenerator

A tool tip generator that is used by the PiePlot class.
Method Summary
StringgenerateToolTip(PieDataset dataset, Comparable key)
Generates a tool tip text item for the specified item in the dataset.

Method Detail

generateToolTip

public String generateToolTip(PieDataset dataset, Comparable key)
Generates a tool tip text item for the specified item in the dataset. This method can return null to indicate that no tool tip should be displayed for an item.

Parameters: dataset the dataset (null not permitted). key the section key (null not permitted).

Returns: The tool tip text (possibly null).