Class BarChartFactory
- java.lang.Object
-
- org.pentaho.platform.plugin.action.openflashchart.factory.AbstractChartFactory
-
- org.pentaho.platform.plugin.action.openflashchart.factory.BarChartFactory
-
- All Implemented Interfaces:
IChartFactory
- Direct Known Subclasses:
BarLineChartFactory
public class BarChartFactory extends AbstractChartFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pentaho.platform.plugin.action.openflashchart.factory.AbstractChartFactory
AbstractChartFactory.MinMax
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
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 BarChartFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createElements()
ofc4j.model.elements.Element
getHorizontalBarChartFromColumn(int col)
String
getOutlineColor(int i)
AbstractChartFactory.MinMax
getRangeMinMax()
ofc4j.model.elements.Element
getStackedBarChartFromColumn(int col)
int
getStackedMaxRange()
ofc4j.model.elements.Element
getVerticalBarChartFromColumn(int col)
ofc4j.model.axis.Axis
setupDomain()
void
setupStyles()
-
Methods inherited from class org.pentaho.platform.plugin.action.openflashchart.factory.AbstractChartFactory
buildCSSString, buildCSSStringFromNode, convertToJson, getColor, getColumnCount, getColumnHeader, getNodeValue, getRowCount, getRowHeader, getValue, getValueAt, setChartNode, setData, setLog, setupColors, setupOnclick, setupRange, setupTitles, validateData
-
-
-
-
Method Detail
-
getRangeMinMax
public AbstractChartFactory.MinMax getRangeMinMax()
- Overrides:
getRangeMinMax
in classAbstractChartFactory
-
setupDomain
public ofc4j.model.axis.Axis setupDomain()
- Overrides:
setupDomain
in classAbstractChartFactory
-
getStackedMaxRange
public int getStackedMaxRange()
-
setupStyles
public void setupStyles()
- Overrides:
setupStyles
in classAbstractChartFactory
-
createElements
public void createElements()
- Specified by:
createElements
in classAbstractChartFactory
-
getStackedBarChartFromColumn
public ofc4j.model.elements.Element getStackedBarChartFromColumn(int col)
-
getVerticalBarChartFromColumn
public ofc4j.model.elements.Element getVerticalBarChartFromColumn(int col)
-
getHorizontalBarChartFromColumn
public ofc4j.model.elements.Element getHorizontalBarChartFromColumn(int col)
-
getOutlineColor
public String getOutlineColor(int i)
-
-