Class FormulaPieURLGenerator

  • All Implemented Interfaces:
    org.jfree.chart.urls.PieURLGenerator

    public class FormulaPieURLGenerator
    extends Object
    implements org.jfree.chart.urls.PieURLGenerator
    • Constructor Detail

      • FormulaPieURLGenerator

        public FormulaPieURLGenerator​(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime,
                                      String formula)
    • Method Detail

      • generateURL

        public String generateURL​(org.jfree.data.general.PieDataset dataset,
                                  Comparable key,
                                  int pieIndex)
        Generates a URL for one item in a PieDataset. As a guideline, the URL should be valid within the context of an XHTML 1.0 document.
        Specified by:
        generateURL in interface org.jfree.chart.urls.PieURLGenerator
        Parameters:
        dataset - the dataset (null not permitted).
        key - the item key (null not permitted).
        pieIndex - the pie index (differentiates between pies in a 'multi' pie chart).
        Returns:
        A string containing the URL.