Class BarLineChartExpression

All Implemented Interfaces:
Serializable, Cloneable, ChartExpression, MultiPlotChartExpression, org.pentaho.reporting.engine.classic.core.DynamicExpression, org.pentaho.reporting.engine.classic.core.function.Expression, org.pentaho.reporting.engine.classic.core.LegacyUpdateHandler

public class BarLineChartExpression extends BarChartExpression implements MultiPlotChartExpression
See Also:
  • Constructor Details

    • BarLineChartExpression

      public BarLineChartExpression()
  • Method Details

    • isLineAxisIncludesZero

      public boolean isLineAxisIncludesZero()
    • setLineAxisIncludesZero

      public void setLineAxisIncludesZero(boolean lineAxisIncludesZero)
    • isLineAxisStickyZero

      public boolean isLineAxisStickyZero()
    • setLineAxisStickyZero

      public void setLineAxisStickyZero(boolean lineAxisStickyZero)
    • getLineTitleFont

      public Font getLineTitleFont()
    • setLineTitleFont

      public void setLineTitleFont(Font lineTitleFont)
    • getLineTickFont

      public Font getLineTickFont()
    • setLineTickFont

      public void setLineTickFont(Font lineTickFont)
    • getLineRangeMinimum

      public double getLineRangeMinimum()
    • setLineRangeMinimum

      public void setLineRangeMinimum(double lineRangeMinimum)
    • getLineRangeMaximum

      public double getLineRangeMaximum()
    • setLineRangeMaximum

      public void setLineRangeMaximum(double lineRangeMaximum)
    • getLinePeriodCount

      public double getLinePeriodCount()
    • setLinePeriodCount

      public void setLinePeriodCount(double linePeriodCount)
    • getLineTimePeriod

      public Class getLineTimePeriod()
    • setLineTimePeriod

      public void setLineTimePeriod(Class lineTimePeriod)
    • isSharedRangeAxis

      public boolean isSharedRangeAxis()
    • setSharedRangeAxis

      public void setSharedRangeAxis(boolean sharedRangeAxis)
    • getInstance

      public org.pentaho.reporting.engine.classic.core.function.Expression getInstance()
      Return a completly separated copy of this function. The copy does no longer share any changeable objects with the original function.
      Specified by:
      getInstance in interface org.pentaho.reporting.engine.classic.core.function.Expression
      Overrides:
      getInstance in class CategoricalChartExpression
      Returns:
      a copy of this function.
    • getLinesDataSource

      public String getLinesDataSource()
    • setLinesDataSource

      public void setLinesDataSource(String linesDataSource)
    • getSecondaryDataSet

      public String getSecondaryDataSet()
      Specified by:
      getSecondaryDataSet in interface MultiPlotChartExpression
    • setSecondaryDataSet

      public void setSecondaryDataSet(String dataset)
      Specified by:
      setSecondaryDataSet in interface MultiPlotChartExpression
    • getLinesLabelFont

      public String getLinesLabelFont()
    • setLinesLabelFont

      public void setLinesLabelFont(String linesLabelFont)
    • getLinesTickLabelFont

      @Deprecated public String getLinesTickLabelFont()
      Deprecated.
    • setLinesTickLabelFont

      @Deprecated public void setLinesTickLabelFont(String linesTickLabelFont)
      Deprecated.
    • getSecondValueAxisLabel

      public String getSecondValueAxisLabel()
    • setSecondValueAxisLabel

      public void setSecondValueAxisLabel(String secondValueAxisLabel)
    • getLineTicksLabelFormat

      public String getLineTicksLabelFormat()
    • setLineTicksLabelFormat

      public void setLineTicksLabelFormat(String lineTicksLabelFormat)
    • setLineSeriesColor

      public void setLineSeriesColor(int index, String field)
    • getLineSeriesColor

      public String getLineSeriesColor(int index)
    • getLineSeriesColorCount

      public int getLineSeriesColorCount()
    • getLineSeriesColor

      public String[] getLineSeriesColor()
    • setLineSeriesColor

      public void setLineSeriesColor(String[] fields)
    • getLineStyle

      public String getLineStyle()
      Returns:
      returns the style set for the lines
    • setLineStyle

      public void setLineStyle(String value)
      Parameters:
      value - set the style for all line series
    • getLineWidth

      public float getLineWidth()
      Returns:
      the width of all line series Valid values are float numbers zero or greater
    • setLineWidth

      public void setLineWidth(float value)
      Parameters:
      value - set the width of all line series Valid values are float numbers zero or greater
    • isMarkersVisible

      public boolean isMarkersVisible()
      Returns:
      boolean whether the markers (data points) for all series are displayed
    • setMarkersVisible

      public void setMarkersVisible(boolean markersVisible)
      Parameters:
      markersVisible - set whether the markers (data points) for all series should be displayed
    • getBarsTickLabelFont

      public String getBarsTickLabelFont()
      Deprecated.
    • setBarsTickLabelFont

      public void setBarsTickLabelFont(String barsTickLabelFont)
      Deprecated.
    • getCategoryTickLabelFont

      public String getCategoryTickLabelFont()
      Deprecated.
    • setCategoryTickLabelFont

      public void setCategoryTickLabelFont(String categoryTickLabelFont)
      Deprecated.
    • getBarTicksLabelFormat

      public String getBarTicksLabelFormat()
      Deprecated.
      duplicate property.
      Returns:
    • setBarTicksLabelFormat

      public void setBarTicksLabelFormat(String lineTicksLabelDateFormat)
      Deprecated.
      duplicate property.
      Parameters:
      lineTicksLabelDateFormat -
    • getBarsLabelFont

      public String getBarsLabelFont()
      Deprecated.
    • setBarsLabelFont

      public void setBarsLabelFont(String barsLabelFont)
      Deprecated.
    • isLineAxisAutoRange

      public boolean isLineAxisAutoRange()
    • setLineAxisAutoRange

      public void setLineAxisAutoRange(boolean lineAxisAutoRange)
    • computeCategoryChart

      public org.jfree.chart.JFreeChart computeCategoryChart(org.jfree.data.category.CategoryDataset barsDataset)
      Overrides:
      computeCategoryChart in class BarChartExpression
    • configureChart

      protected void configureChart(org.jfree.chart.JFreeChart chart)
      Overrides:
      configureChart in class BarChartExpression
    • reconfigureForCompatibility

      public void reconfigureForCompatibility(int versionTag)
      Specified by:
      reconfigureForCompatibility in interface org.pentaho.reporting.engine.classic.core.LegacyUpdateHandler
      Overrides:
      reconfigureForCompatibility in class CategoricalChartExpression