Class XYBarChartExpression

java.lang.Object
org.pentaho.reporting.engine.classic.core.function.AbstractExpression
All Implemented Interfaces:
Serializable, Cloneable, ChartExpression, org.pentaho.reporting.engine.classic.core.DynamicExpression, org.pentaho.reporting.engine.classic.core.function.Expression, org.pentaho.reporting.engine.classic.core.LegacyUpdateHandler

public class XYBarChartExpression extends XYChartExpression
Author:
gmoran
See Also:
  • Constructor Details

    • XYBarChartExpression

      public XYBarChartExpression()
  • Method Details

    • isShadowVisible

      public boolean isShadowVisible()
    • setShadowVisible

      public void setShadowVisible(boolean shadowVisible)
    • getShadowXOffset

      public int getShadowXOffset()
    • setShadowXOffset

      public void setShadowXOffset(int shadowXOffset)
    • getShadowYOffset

      public int getShadowYOffset()
    • setShadowYOffset

      public void setShadowYOffset(int shadowYOffset)
    • getMargin

      public Double getMargin()
    • setMargin

      public void setMargin(Double margin)
    • isRenderPercentages

      public boolean isRenderPercentages()
    • setRenderPercentages

      public void setRenderPercentages(boolean renderPercentages)
    • createTimeSeriesChart

      protected static org.jfree.chart.JFreeChart createTimeSeriesChart(String title, String timeAxisLabel, String valueAxisLabel, org.jfree.data.xy.XYDataset dataset, boolean legend, boolean tooltips, boolean urls, boolean stacked)
    • computeXYChart

      protected org.jfree.chart.JFreeChart computeXYChart(org.jfree.data.xy.XYDataset xyDataset)
      Overrides:
      computeXYChart in class XYChartExpression
    • createXYBarChart

      public static org.jfree.chart.JFreeChart createXYBarChart(String title, String xAxisLabel, boolean dateAxis, String yAxisLabel, org.jfree.data.xy.XYDataset dataset, org.jfree.chart.plot.PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
      Creates and returns a default instance of an XY bar chart.

      The chart object returned by this method uses an XYPlot instance as the plot, with a DateAxis for the domain axis, a NumberAxis as the range axis, and a XYBarRenderer as the renderer.

      Parameters:
      title - the chart title (null permitted).
      xAxisLabel - a label for the X-axis (null permitted).
      dateAxis - make the domain axis display dates?
      yAxisLabel - a label for the Y-axis (null permitted).
      dataset - the dataset for the chart (null permitted).
      orientation - the orientation (horizontal or vertical) (null NOT permitted).
      legend - a flag specifying whether or not a legend is required.
      tooltips - configure chart to generate tool tips?
      urls - configure chart to generate URLs?
      Returns:
      An XY bar chart.
    • configureChart

      protected void configureChart(org.jfree.chart.JFreeChart chart)
      Overrides:
      configureChart in class XYChartExpression
    • isDrawBarOutline

      public boolean isDrawBarOutline()
      Deprecated.
      This maps directly to chartSectionOutline
      Returns:
    • setDrawBarOutline

      public void setDrawBarOutline(boolean value)
      Deprecated.
      This maps directly to chartSectionOutline