Class FormulaPieURLGenerator
- java.lang.Object
-
- org.pentaho.plugin.jfreereport.reportcharts.FormulaPieURLGenerator
-
- All Implemented Interfaces:
org.jfree.chart.urls.PieURLGenerator
public class FormulaPieURLGenerator extends Object implements org.jfree.chart.urls.PieURLGenerator
-
-
Constructor Summary
Constructors Constructor Description FormulaPieURLGenerator(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
generateURL(org.jfree.data.general.PieDataset dataset, Comparable key, int pieIndex)
Generates a URL for one item in aPieDataset
.
-
-
-
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 aPieDataset
. As a guideline, the URL should be valid within the context of an XHTML 1.0 document.- Specified by:
generateURL
in interfaceorg.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.
-
-