Class JRFillXySeries

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

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

  • Constructor Details

  • Method Details

    • getSeriesExpression

      public JRExpression getSeriesExpression()
      Specified by:
      getSeriesExpression in interface JRXySeries
      Returns:
      a java.lang.Comparable object that identifies a certain data series in the overall dataset. It can return different values, which will result in the dataset containing multiple series even when a single <xySeries> tag is used inside the <xyDataset> tag.
    • getXValueExpression

      public JRExpression getXValueExpression()
      Specified by:
      getXValueExpression in interface JRXySeries
      Returns:
      a numeric expression representing the X value from the (x, y) pair that will be added to the current data series.
    • getYValueExpression

      public JRExpression getYValueExpression()
      Specified by:
      getYValueExpression in interface JRXySeries
      Returns:
      a numeric expression representing the Y value from the (x, y) pair that will be added to the current data series.
    • getLabelExpression

      public JRExpression getLabelExpression()
      Specified by:
      getLabelExpression in interface JRXySeries
      Returns:
      the label expression. If present, it helps customize the item labels inside charts.
    • getAutoSort

      public Boolean getAutoSort()
      Specified by:
      getAutoSort in interface JRXySeries
    • getSeries

      protected Comparable<?> getSeries()
    • getXValue

      protected Number getXValue()
    • getYValue

      protected Number getYValue()
    • getLabel

      protected String getLabel()
    • getPrintItemHyperlink

      protected JRPrintHyperlink getPrintItemHyperlink()
    • evaluate

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

      protected void evaluateItemHyperlink(JRCalculator calculator) throws JRExpressionEvalException
      Throws:
      JRExpressionEvalException
    • getItemHyperlink

      public JRHyperlink getItemHyperlink()
      Description copied from interface: JRXySeries
      Returns the hyperlink specification for chart items.

      The hyperlink will be evaluated for every chart item and a image map will be created for the chart.

      Specified by:
      getItemHyperlink in interface JRXySeries
      Returns:
      hyperlink specification for chart items
    • hasItemHyperlinks

      public boolean hasItemHyperlinks()
    • clone

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