org.jfree.chart.labels

Interface XYToolTipGenerator

public interface XYToolTipGenerator

Interface for a tooltip generator for plots that use data from an XYDataset.
Method Summary
StringgenerateToolTip(XYDataset dataset, int series, int item)
Generates the tooltip text for the specified item.

Method Detail

generateToolTip

public String generateToolTip(XYDataset dataset, int series, int item)
Generates the tooltip text for the specified item.

Parameters: dataset the dataset (null not permitted). series the series index (zero-based). item the item index (zero-based).

Returns: The tooltip text (possibly null).