Class FormulaPieURLGenerator
java.lang.Object
org.pentaho.plugin.jfreereport.reportcharts.FormulaPieURLGenerator
- All Implemented Interfaces:
org.jfree.chart.urls.PieURLGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionFormulaPieURLGenerator(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime, String formula) -
Method Summary
Modifier and TypeMethodDescriptiongenerateURL(org.jfree.data.general.PieDataset dataset, Comparable key, int pieIndex) Generates a URL for one item in aPieDataset.
-
Constructor Details
-
FormulaPieURLGenerator
public FormulaPieURLGenerator(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime, String formula)
-
-
Method Details
-
generateURL
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.
-