Class BarLineChartFactory
- java.lang.Object
-
- org.pentaho.platform.plugin.action.openflashchart.factory.AbstractChartFactory
-
- org.pentaho.platform.plugin.action.openflashchart.factory.BarChartFactory
-
- org.pentaho.platform.plugin.action.openflashchart.factory.BarLineChartFactory
-
- All Implemented Interfaces:
IChartFactory
public class BarLineChartFactory extends BarChartFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pentaho.platform.plugin.action.openflashchart.factory.AbstractChartFactory
AbstractChartFactory.MinMax
-
-
Field Summary
-
Fields inherited from class org.pentaho.platform.plugin.action.openflashchart.factory.BarChartFactory
isstacked
-
Fields inherited from class org.pentaho.platform.plugin.action.openflashchart.factory.AbstractChartFactory
alpha, AXIS_COLOR_DEFAULT, AXIS_GRID_COLOR_DEFAULT, baseURLTemplate, CATEGORY_TYPE, chart, chartNode, COLOR_NODE_LOC, colors, COLORS_DEFAULT, columnHeaders, data, datasetType, elements, hasColumnHeaders, hasRowHeaders, HORIZONTAL_ORIENTATION, orientation, ORIENTATION_DEFAULT, RANGE_STEPS_NODE_LOC, rowHeaders, tooltipText, VERTICAL_ORIENTATION, XY_TYPE, XYZ_TYPE
-
-
Constructor Summary
Constructors Constructor Description BarLineChartFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createElements()
ofc4j.model.elements.Element
getBarLineChartFromColumn(int col)
AbstractChartFactory.MinMax
getRangeMinMax()
void
setChartNode(org.dom4j.Node chartNode)
set the xml chart definitionvoid
setData(org.pentaho.commons.connection.IPentahoResultSet data)
set the result set to rendervoid
setLog(org.apache.commons.logging.Log log)
set the loggerprotected void
setupColors()
Setup colors for the series and also backgroundvoid
setupLineRange()
ofc4j.model.axis.Axis
setupRange()
void
setupStyles()
-
Methods inherited from class org.pentaho.platform.plugin.action.openflashchart.factory.BarChartFactory
getHorizontalBarChartFromColumn, getOutlineColor, getStackedBarChartFromColumn, getStackedMaxRange, getVerticalBarChartFromColumn, setupDomain
-
Methods inherited from class org.pentaho.platform.plugin.action.openflashchart.factory.AbstractChartFactory
buildCSSString, buildCSSStringFromNode, convertToJson, getColor, getColumnCount, getColumnHeader, getNodeValue, getRowCount, getRowHeader, getValue, getValueAt, setupOnclick, setupTitles, validateData
-
-
-
-
Method Detail
-
setupStyles
public void setupStyles()
- Overrides:
setupStyles
in classBarChartFactory
-
setData
public void setData(org.pentaho.commons.connection.IPentahoResultSet data)
Description copied from interface:IChartFactory
set the result set to render- Specified by:
setData
in interfaceIChartFactory
- Overrides:
setData
in classAbstractChartFactory
- Parameters:
data
- result set
-
setChartNode
public void setChartNode(org.dom4j.Node chartNode)
Description copied from interface:IChartFactory
set the xml chart definition- Specified by:
setChartNode
in interfaceIChartFactory
- Overrides:
setChartNode
in classAbstractChartFactory
- Parameters:
chartNode
- chart definition
-
setLog
public void setLog(org.apache.commons.logging.Log log)
Description copied from interface:IChartFactory
set the logger- Specified by:
setLog
in interfaceIChartFactory
- Overrides:
setLog
in classAbstractChartFactory
- Parameters:
log
- logger
-
setupColors
protected void setupColors()
Description copied from class:AbstractChartFactory
Setup colors for the series and also background- Overrides:
setupColors
in classAbstractChartFactory
-
setupRange
public ofc4j.model.axis.Axis setupRange()
- Overrides:
setupRange
in classAbstractChartFactory
-
getRangeMinMax
public AbstractChartFactory.MinMax getRangeMinMax()
- Overrides:
getRangeMinMax
in classBarChartFactory
-
setupLineRange
public void setupLineRange()
-
createElements
public void createElements()
- Overrides:
createElements
in classBarChartFactory
-
getBarLineChartFromColumn
public ofc4j.model.elements.Element getBarLineChartFromColumn(int col)
-
-