Class FormulaPieTooltipGenerator

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

    public class FormulaPieTooltipGenerator
    extends Object
    implements org.jfree.chart.labels.PieToolTipGenerator
    • 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 return null to indicate that no tool tip should be displayed for an item.
        Specified by:
        generateToolTip in interface org.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).