Class FormulaCategoryTooltipGenerator

  • All Implemented Interfaces:
    org.jfree.chart.labels.CategoryToolTipGenerator

    public class FormulaCategoryTooltipGenerator
    extends Object
    implements org.jfree.chart.labels.CategoryToolTipGenerator
    • 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 interface org.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).