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 StringgenerateURL(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:
generateURLin interfaceorg.jfree.chart.urls.PieURLGenerator- Parameters:
dataset- the dataset (nullnot permitted).key- the item key (nullnot permitted).pieIndex- the pie index (differentiates between pies in a 'multi' pie chart).- Returns:
- A string containing the URL.
-
-