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 Details

    • FormulaPieTooltipGenerator

      public FormulaPieTooltipGenerator(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime, String formula)
  • Method Details

    • 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).