public class BarLineChartFactory extends BarChartFactory
AbstractChartFactory.MinMax
isstacked
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 and Description |
---|
BarLineChartFactory() |
Modifier and Type | Method and Description |
---|---|
void |
createElements() |
ofc4j.model.elements.Element |
getBarLineChartFromColumn(int col) |
AbstractChartFactory.MinMax |
getRangeMinMax() |
void |
setChartNode(org.dom4j.Node chartNode)
set the xml chart definition
|
void |
setData(org.pentaho.commons.connection.IPentahoResultSet data)
set the result set to render
|
void |
setLog(org.apache.commons.logging.Log log)
set the logger
|
protected void |
setupColors()
Setup colors for the series and also background
|
void |
setupLineRange() |
ofc4j.model.axis.Axis |
setupRange() |
void |
setupStyles() |
getHorizontalBarChartFromColumn, getOutlineColor, getStackedBarChartFromColumn, getStackedMaxRange, getVerticalBarChartFromColumn, setupDomain
buildCSSString, buildCSSStringFromNode, convertToJson, getColor, getColumnCount, getColumnHeader, getNodeValue, getRowCount, getRowHeader, getValue, getValueAt, setupOnclick, setupTitles, validateData
public void setupStyles()
setupStyles
in class BarChartFactory
public void setData(org.pentaho.commons.connection.IPentahoResultSet data)
IChartFactory
setData
in interface IChartFactory
setData
in class AbstractChartFactory
data
- result setpublic void setChartNode(org.dom4j.Node chartNode)
IChartFactory
setChartNode
in interface IChartFactory
setChartNode
in class AbstractChartFactory
chartNode
- chart definitionpublic void setLog(org.apache.commons.logging.Log log)
IChartFactory
setLog
in interface IChartFactory
setLog
in class AbstractChartFactory
log
- loggerprotected void setupColors()
AbstractChartFactory
setupColors
in class AbstractChartFactory
public ofc4j.model.axis.Axis setupRange()
setupRange
in class AbstractChartFactory
public AbstractChartFactory.MinMax getRangeMinMax()
getRangeMinMax
in class BarChartFactory
public void setupLineRange()
public void createElements()
createElements
in class BarChartFactory
public ofc4j.model.elements.Element getBarLineChartFromColumn(int col)
Copyright © 2019 Hitachi Vantara. All rights reserved.