Class FormulaPieTooltipGenerator
java.lang.Object
org.pentaho.plugin.jfreereport.reportcharts.FormulaPieTooltipGenerator
- All Implemented Interfaces:
org.jfree.chart.labels.PieToolTipGenerator
public class FormulaPieTooltipGenerator
extends Object
implements org.jfree.chart.labels.PieToolTipGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionFormulaPieTooltipGenerator(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime, String formula) -
Method Summary
Modifier and TypeMethodDescriptiongenerateToolTip(org.jfree.data.general.PieDataset dataset, Comparable key) Generates a tool tip text item for the specified item in the dataset.
-
Constructor Details
-
FormulaPieTooltipGenerator
public FormulaPieTooltipGenerator(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime, String formula)
-
-
Method Details
-
generateToolTip
Generates a tool tip text item for the specified item in the dataset. This method can returnnullto indicate that no tool tip should be displayed for an item.- Specified by:
generateToolTipin interfaceorg.jfree.chart.labels.PieToolTipGenerator- Parameters:
dataset- the dataset (nullnot permitted).key- the section key (nullnot permitted).- Returns:
- The tool tip text (possibly
null).
-