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
Constructors Constructor Description FormulaPieTooltipGenerator(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime, String formula)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
generateToolTip(org.jfree.data.general.PieDataset dataset, Comparable key)
Generates a tool tip text item for the specified item in the dataset.
-
-
-
Constructor Detail
-
FormulaPieTooltipGenerator
public FormulaPieTooltipGenerator(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime, String formula)
-
-
Method Detail
-
generateToolTip
public String generateToolTip(org.jfree.data.general.PieDataset dataset, Comparable key)
Generates a tool tip text item for the specified item in the dataset. This method can returnnull
to indicate that no tool tip should be displayed for an item.- Specified by:
generateToolTip
in interfaceorg.jfree.chart.labels.PieToolTipGenerator
- Parameters:
dataset
- the dataset (null
not permitted).key
- the section key (null
not permitted).- Returns:
- The tool tip text (possibly
null
).
-
-