Class FormulaCategoryTooltipGenerator
- java.lang.Object
-
- org.pentaho.plugin.jfreereport.reportcharts.FormulaCategoryTooltipGenerator
-
- All Implemented Interfaces:
org.jfree.chart.labels.CategoryToolTipGenerator
public class FormulaCategoryTooltipGenerator extends Object implements org.jfree.chart.labels.CategoryToolTipGenerator
-
-
Constructor Summary
Constructors Constructor Description FormulaCategoryTooltipGenerator(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.category.CategoryDataset dataset, int series, int category)
Generates the tool tip text for an item in a dataset.
-
-
-
Constructor Detail
-
FormulaCategoryTooltipGenerator
public FormulaCategoryTooltipGenerator(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime, String formula)
-
-
Method Detail
-
generateToolTip
public String generateToolTip(org.jfree.data.category.CategoryDataset dataset, int series, int category)
Generates the tool tip text for an item in a dataset. Note: in the current dataset implementation, each row is a series, and each column contains values for a particular category.- Specified by:
generateToolTip
in interfaceorg.jfree.chart.labels.CategoryToolTipGenerator
- Parameters:
dataset
- the dataset (null
not permitted).series
- the series (zero-based index).category
- the category.- Returns:
- The tooltip text (possibly
null
).
-
-