public abstract class AbstractJFreeChartComponent extends AbstractChartComponent
Modifier and Type | Field and Description |
---|---|
protected int |
chartType |
protected org.jfree.data.general.Dataset |
dataDefinition |
protected ActionSequenceJCRHelper |
jcrHelper |
actionOutput, actionPath, byRow, CHART_NODE_NAME, chartCount, context, definitionPath, FILENAME_INDEX, FILENAME_WITHOUT_EXTENSION_INDEX, height, instanceId, logger, outerParamNames, PARAM2_NODE_NAME, paramName, title, urlTemplate, URLTEMPLATE_NODE_NAME, values, width
contentTypes, debug, urlFactory, xslProperties
EMPTYLOGID, loggingLevel, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
Modifier | Constructor and Description |
---|---|
protected |
AbstractJFreeChartComponent(int chartType,
String definitionPath,
int width,
int height,
org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory,
List messages) |
protected |
AbstractJFreeChartComponent(org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory,
List messages) |
protected |
AbstractJFreeChartComponent(String definitionPath,
org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory,
ArrayList messages) |
Modifier and Type | Method and Description |
---|---|
abstract org.jfree.data.general.Dataset |
createChart(org.dom4j.Document doc)
Creates a Dataset object (actaully one of it's subclasses from the XML doc
|
int |
getChartType() |
org.jfree.data.general.Dataset |
getDataDefinitiont() |
void |
setChartType(int chartType) |
boolean |
setDataAction(String chartDefinition) |
void |
setDataDefinition(org.jfree.data.general.Dataset dataSet) |
addOuterParamName, applyOuterURLTemplateParam, createTempFile, dispose, getActionData, getActionOutput, getActionPath, getContext, getDefinitionPath, getHeight, getInstanceId, getLogger, getParamName, getTitle, getUrlTemplate, getValues, getWidth, isByRow, setActionOutput, setActionPath, setByRow, setContext, setDataAction, setDefinitionPath, setHeight, setInstanceId, setLogger, setParamName, setTitle, setUrlTemplate, setValues, setWidth
getContent, getXmlContent
done, getObjectParameter, getParameter, getParameterAsArray, getParameterProviders, getRequestHandler, getSession, getSourcePath, getUrlFactory, getXsl, getXslProperties, handleRequest, setParameterProvider, setParameterProviders, setRequestHandler, setSourcePath, setUrlFactory, setXsl, setXslProperty, validate, validate
debug, debug, error, error, error, fatal, fatal, getMessages, getUserString, info, info, setMessages, trace, trace, warn, warn
genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, setLoggingLevel, setLogId
protected int chartType
protected ActionSequenceJCRHelper jcrHelper
protected org.jfree.data.general.Dataset dataDefinition
protected AbstractJFreeChartComponent(int chartType, String definitionPath, int width, int height, org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory, List messages)
protected AbstractJFreeChartComponent(String definitionPath, org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory, ArrayList messages)
definitionPath
- urlFactory
- messages
- protected AbstractJFreeChartComponent(org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory, List messages)
public abstract org.jfree.data.general.Dataset createChart(org.dom4j.Document doc)
doc
- XML document that describes the chartpublic org.jfree.data.general.Dataset getDataDefinitiont()
public void setDataDefinition(org.jfree.data.general.Dataset dataSet)
dataSet
- The dataSet to set.public int getChartType()
public void setChartType(int chartType)
chartType
- The chartType to set.public boolean setDataAction(String chartDefinition)
setDataAction
in class AbstractChartComponent
chartDefinition
- String that represents a file in the solution to create the chart from.Copyright © 2019 Hitachi Vantara. All rights reserved.