Class JRFillPieSeries

java.lang.Object
net.sf.jasperreports.charts.fill.JRFillPieSeries
All Implemented Interfaces:
Cloneable, JRPieSeries, JRCloneable

public class JRFillPieSeries extends Object implements JRPieSeries
Author:
Teodor Danciu (teodord@users.sourceforge.net)
  • Field Details

  • Constructor Details

  • Method Details

    • getKeyExpression

      public JRExpression getKeyExpression()
      Specified by:
      getKeyExpression in interface JRPieSeries
      Returns:
      a java.lang.Comparable object representing the categories that will make up the slices in the pie chart.
    • getValueExpression

      public JRExpression getValueExpression()
      Specified by:
      getValueExpression in interface JRPieSeries
      Returns:
      a numeric expression that produces the values corresponding to each category/key in the dataset.
    • getLabelExpression

      public JRExpression getLabelExpression()
      Specified by:
      getLabelExpression in interface JRPieSeries
      Returns:
      the label expression. If this expression is missing, the chart will display default labels for each slice in the pie chart. Use this expression, which returns java.lang.String values, to customize the item labels for the pie chart.
    • getKey

      protected Comparable<?> getKey()
    • getValue

      protected Number getValue()
    • getLabel

      protected String getLabel()
    • getPrintSectionHyperlink

      protected JRPrintHyperlink getPrintSectionHyperlink()
    • evaluate

      protected void evaluate(JRCalculator calculator) throws JRExpressionEvalException
      Throws:
      JRExpressionEvalException
    • evaluateSectionHyperlink

      protected void evaluateSectionHyperlink(JRCalculator calculator) throws JRExpressionEvalException
      Throws:
      JRExpressionEvalException
    • hasSectionHyperlinks

      public boolean hasSectionHyperlinks()
    • getSectionHyperlink

      public JRHyperlink getSectionHyperlink()
      Description copied from interface: JRPieSeries
      Returns the hyperlink specification for chart sections.

      The hyperlink will be evaluated for every chart section and an image map will be created for the chart.

      Specified by:
      getSectionHyperlink in interface JRPieSeries
      Returns:
      hyperlink specification for chart sections
    • clone

      public Object clone()
      Specified by:
      clone in interface JRCloneable
      Overrides:
      clone in class Object