public class DialChartComponent extends AbstractJFreeChartComponent
Modifier and Type | Field and Description |
---|---|
static String |
MAXVALUE_NODE_NAME |
static String |
MINVALUE_NODE_NAME |
static int |
TYPE_DIAL |
static int |
TYPE_THERMOMETER |
static String |
VALUE_NODE_NAME |
chartType, dataDefinition, 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
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
Constructor and Description |
---|
DialChartComponent(int chartType,
String definitionPath,
int width,
int height,
IPentahoUrlFactory urlFactory,
List messages) |
DialChartComponent(IPentahoUrlFactory urlFactory,
List messages) |
DialChartComponent(String definitionPath,
IPentahoUrlFactory urlFactory,
ArrayList messages) |
Modifier and Type | Method and Description |
---|---|
org.jfree.data.general.Dataset |
createChart(org.dom4j.Document doc)
Creates a Dataset object (actaully one of it's subclasses from the XML doc
|
org.dom4j.Document |
getXmlContent() |
void |
setValue(double value)
Sets the value to be displayed by the dial.
|
boolean |
validate() |
getChartType, getDataDefinitiont, setChartType, setDataAction, setDataDefinition
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
done, getObjectParameter, getParameter, getParameterAsArray, getParameterProviders, getRequestHandler, getSession, getSourcePath, getUrlFactory, getXsl, getXslProperties, handleRequest, setParameterProvider, setParameterProviders, setRequestHandler, setSourcePath, setUrlFactory, setXsl, setXslProperty, 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
public static final String VALUE_NODE_NAME
public static final String MAXVALUE_NODE_NAME
public static final String MINVALUE_NODE_NAME
public static final int TYPE_DIAL
public static final int TYPE_THERMOMETER
public DialChartComponent(int chartType, String definitionPath, int width, int height, IPentahoUrlFactory urlFactory, List messages)
public DialChartComponent(String definitionPath, IPentahoUrlFactory urlFactory, ArrayList messages)
public DialChartComponent(IPentahoUrlFactory urlFactory, List messages)
public org.jfree.data.general.Dataset createChart(org.dom4j.Document doc)
AbstractJFreeChartComponent
createChart
in class AbstractJFreeChartComponent
doc
- XML document that describes the chartpublic org.dom4j.Document getXmlContent()
getXmlContent
in interface IXMLComponent
getXmlContent
in class XmlComponent
public boolean validate()
validate
in interface IUIComponent
validate
in class BaseUIComponent
public void setValue(double value)
value
- The dial valueCopyright © 2017 Hitachi Vantara. All rights reserved.