org.pentaho.platform.uifoundation.chart
Class BarLineChartDefinition

java.lang.Object
  extended by org.jfree.data.general.AbstractDataset
      extended by org.jfree.data.category.DefaultCategoryDataset
          extended by org.pentaho.platform.uifoundation.chart.CategoryDatasetChartDefinition
              extended by org.pentaho.platform.uifoundation.chart.BarLineChartDefinition
All Implemented Interfaces:
ObjectInputValidation, Serializable, Cloneable, org.jfree.data.category.CategoryDataset, org.jfree.data.general.Dataset, org.jfree.data.KeyedValues2D, org.jfree.data.Values2D, ChartDefinition

public class BarLineChartDefinition
extends CategoryDatasetChartDefinition

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.pentaho.platform.uifoundation.chart.ChartDefinition
AREA_CHART_STR, BACKGROUND_ALPHA_NODE_NAME, BACKGROUND_TYPE_ATTRIBUTE_NAME, BAR_CHART_STR, BAR_LINE_CHART_STR, BUBBLE_CHART_STR, CATEGORY_DATASET_STR, CHART_BACKGROUND_NODE_NAME, CHART_BORDER_PAINT_NODE_NAME, CHART_BORDER_VISIBLE_NODE_NAME, COLOR_NODE_NAME, COLOR_TYPE_NAME, DATASET_TYPE_NODE_NAME, DAY_PERIOD_TYPE_STR, DIAL_CHART_STR, DIFFERENCE_CHART_STR, DISPLAY_LABELS_NODE_NAME, DISPLAY_LEGEND_BORDER_NODE_NAME, DOT_CHART_STR, DOT_HEIGHT_NODE_NAME, DOT_WIDTH_NODE_NAME, FIXEDMILLISECOND_PERIOD_TYPE_STR, FOREGROUND_ALPHA_NODE_NAME, GRADIENT_TYPE_NAME, HEIGHT_NODE_NAME, HORIZONTAL_ORIENTATION, HOUR_PERIOD_TYPE_STR, IMAGE_TYPE_NAME, INCLUDE_LEGEND_NODE_NAME, LEGEND_FONT_NODE_NAME, LINE_CHART_STR, LINE_STYLE_DASH_STR, LINE_STYLE_DASHDOT_STR, LINE_STYLE_DASHDOTDOT_STR, LINE_STYLE_DOT_STR, LINE_STYLE_NODE_NAME, LINE_STYLE_SOLID_STR, LINE_WIDTH_NODE_NAME, MARKER_VISIBLE_NODE_NAME, MILLISECOND_PERIOD_TYPE_STR, MINUTE_PERIOD_TYPE_STR, MONTH_PERIOD_TYPE_STR, PALETTE_NODE_NAME, PIE_CHART_STR, PIE_GRID_CHART_STR, PLOT_BACKGROUND_NODE_NAME, QUARTER_PERIOD_TYPE_STR, SECOND_PERIOD_TYPE_STR, STEP_AREA_CHART_STR, STEP_CHART_STR, SUBTITLE_NODE_NAME, SUBTITLES_NODE_NAME, TEXTURE_TYPE_NAME, THREED_NODE_NAME, TIME_SERIES_COLLECTION_STR, TITLE_FONT_NODE_NAME, TITLE_NODE_NAME, TITLE_POSITION_NODE_NAME, TYPE_NODE_NAME, VERTICAL_ORIENTATION, WEEK_PERIOD_TYPE_STR, WIDTH_NODE_NAME, XY_SERIES_COLLECTION_STR, XYZ_SERIES_COLLECTION_STR, YEAR_PERIOD_TYPE_STR
 
Constructor Summary
BarLineChartDefinition(org.pentaho.commons.connection.IPentahoResultSet data, boolean byRow, org.dom4j.Node chartAttributes, IPentahoSession session)
           
 
Method Summary
 String[] getBarColumns()
           
 org.dom4j.Node getChartAttributes()
           
 String[] getLineColumns()
           
 double getLinesRangeMaximum()
          Return the range axis' maximum value
 double getLinesRangeMinimum()
          Return the range axis' minimum value
 Font getLinesRangeTickFont()
          Return the java.awt.Font to be used to display the range axis tick labels
 NumberFormat getLinesRangeTickFormat()
           
 String getLinesRangeTitle()
           
 Font getLinesRangeTitleFont()
           
 void setBarColumns(String[] barColumns)
           
 void setBarSeries(org.dom4j.Node barSeriesNode)
           
 void setChartAttributes(org.dom4j.Node chartAttributes)
           
 void setLineColumns(String[] lineColumns)
           
 void setLineSeries(org.dom4j.Node lineSeriesNode)
           
 void setLinesRangeMaximum(double linesRangeMaximum)
           
 void setLinesRangeMaximum(org.dom4j.Node linesRangeMaximumNode)
           
 void setLinesRangeMinimum(double linesRangeMinimum)
           
 void setLinesRangeMinimum(org.dom4j.Node linesRangeMinimumNode)
           
 void setLinesRangeTickFont(Font linesRangeTickFont)
           
 void setLinesRangeTickFont(org.dom4j.Node linesRangeTickFontNode)
           
 void setLinesRangeTickFormat(org.dom4j.Node tickFormatFontNode)
           
 void setLinesRangeTickFormat(NumberFormat linesRangeTickFormat)
           
 void setLinesRangeTitle(org.dom4j.Node titleNode)
           
 void setLinesRangeTitle(String linesRangeTitle)
           
 void setLinesRangeTitleFont(Font linesRangeTitleFont)
           
 void setLinesRangeTitleFont(org.dom4j.Node titleFontNode)
           
 void setNoDataMessage(String msg)
           
 
Methods inherited from class org.pentaho.platform.uifoundation.chart.CategoryDatasetChartDefinition
addSubTitle, addSubTitles, getBackgroundAlpha, getBorderPaint, getCategoryLabelPositions, getChartBackgroundImage, getChartBackgroundPaint, getChartType, getChartType, getDomainTickFont, getDomainTitle, getDomainTitleFont, getForegroundAlpha, getHeight, getLegendFont, getLineStyle, getLineWidth, getLogger, getMaxBarWidth, getNoDataMessage, getOrientation, getPaintSequence, getPlotBackgroundImage, getPlotBackgroundPaint, getRangeMaximum, getRangeMinimum, getRangeTickFont, getRangeTickFormat, getRangeTitle, getRangeTitleFont, getSession, getSubtitles, getTitle, getTitleFont, getTitlePosition, getWidth, isBorderVisible, isDisplayLabels, isIncludeNullCategories, isLegendBorderVisible, isLegendIncluded, isMarkersVisible, isStacked, isThreeD, setBackgroundAlpha, setBorderPaint, setBorderVisible, setBorderVisible, setCategoryLabelPositions, setCategoryLabelRotation, setChartBackground, setChartBackgroundImage, setChartBackgroundImage, setChartBackgroundPaint, setChartType, setChartType, setDomainTickFont, setDomainTickFont, setDomainTitle, setDomainTitle, setDomainTitleFont, setDomainTitleFont, setForegroundAlpha, setHeight, setHeight, setIncludeNullCategories, setIncludeNullCategories, setLegendBorderVisible, setLegendBorderVisible, setLegendFont, setLegendFont, setLegendIncluded, setLegendIncluded, setLineStyle, setLineStyle, setLineWidth, setLineWidth, setMarkersVisible, setMarkersVisible, setMaxBarWidth, setMaxBarWidth, setOrientation, setOrientation, setPaintSequence, setPaintSequence, setPlotBackground, setPlotBackgroundImage, setPlotBackgroundImage, setPlotBackgroundPaint, setRangeMaximum, setRangeMaximum, setRangeMinimum, setRangeMinimum, setRangeTickFont, setRangeTickFont, setRangeTickFormat, setRangeTickFormat, setRangeTitle, setRangeTitle, setRangeTitleFont, setRangeTitleFont, setSession, setStacked, setStacked, setThreeD, setThreeD, setTitle, setTitle, setTitleFont, setTitleFont, setTitlePosition, setTitlePosition, setWidth, setWidth
 
Methods inherited from class org.jfree.data.category.DefaultCategoryDataset
addValue, addValue, clear, clone, equals, getColumnCount, getColumnIndex, getColumnKey, getColumnKeys, getRowCount, getRowIndex, getRowKey, getRowKeys, getValue, getValue, hashCode, incrementValue, removeColumn, removeColumn, removeRow, removeRow, removeValue, setValue, setValue
 
Methods inherited from class org.jfree.data.general.AbstractDataset
addChangeListener, getGroup, hasListener, removeChangeListener, setGroup, validateObject
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
 

Constructor Detail

BarLineChartDefinition

public BarLineChartDefinition(org.pentaho.commons.connection.IPentahoResultSet data,
                              boolean byRow,
                              org.dom4j.Node chartAttributes,
                              IPentahoSession session)
Method Detail

getBarColumns

public String[] getBarColumns()

setBarColumns

public void setBarColumns(String[] barColumns)

getLineColumns

public String[] getLineColumns()

setLineColumns

public void setLineColumns(String[] lineColumns)

setBarSeries

public void setBarSeries(org.dom4j.Node barSeriesNode)

setLineSeries

public void setLineSeries(org.dom4j.Node lineSeriesNode)

getChartAttributes

public org.dom4j.Node getChartAttributes()

setChartAttributes

public void setChartAttributes(org.dom4j.Node chartAttributes)

getLinesRangeTitle

public String getLinesRangeTitle()

setLinesRangeTitle

public void setLinesRangeTitle(org.dom4j.Node titleNode)

setLinesRangeTitle

public void setLinesRangeTitle(String linesRangeTitle)

getLinesRangeTitleFont

public Font getLinesRangeTitleFont()

setLinesRangeTitleFont

public void setLinesRangeTitleFont(org.dom4j.Node titleFontNode)

setLinesRangeTitleFont

public void setLinesRangeTitleFont(Font linesRangeTitleFont)

getLinesRangeTickFormat

public NumberFormat getLinesRangeTickFormat()

setLinesRangeTickFormat

public void setLinesRangeTickFormat(NumberFormat linesRangeTickFormat)

setLinesRangeTickFormat

public void setLinesRangeTickFormat(org.dom4j.Node tickFormatFontNode)

getLinesRangeTickFont

public Font getLinesRangeTickFont()
Return the java.awt.Font to be used to display the range axis tick labels

Returns:
Font The Font for the range axis tick labels

setLinesRangeTickFont

public void setLinesRangeTickFont(Font linesRangeTickFont)

setLinesRangeTickFont

public void setLinesRangeTickFont(org.dom4j.Node linesRangeTickFontNode)

getLinesRangeMinimum

public double getLinesRangeMinimum()
Return the range axis' minimum value

Returns:
double Range axis' minimum value

setLinesRangeMinimum

public void setLinesRangeMinimum(org.dom4j.Node linesRangeMinimumNode)

setLinesRangeMinimum

public void setLinesRangeMinimum(double linesRangeMinimum)
Parameters:
double - rangeMinimum Set the minimum value of the range axis.

getLinesRangeMaximum

public double getLinesRangeMaximum()
Return the range axis' maximum value

Returns:
double Range axis' maximum value

setLinesRangeMaximum

public void setLinesRangeMaximum(org.dom4j.Node linesRangeMaximumNode)

setLinesRangeMaximum

public void setLinesRangeMaximum(double linesRangeMaximum)
Parameters:
double - rangeMinimum Set the minimum value of the range axis.

setNoDataMessage

public void setNoDataMessage(String msg)