org.pentaho.platform.uifoundation.chart
Class AbstractJFreeChartComponent
java.lang.Object
org.pentaho.platform.engine.core.system.PentahoBase
org.pentaho.platform.engine.services.PentahoMessenger
org.pentaho.platform.uifoundation.component.BaseUIComponent
org.pentaho.platform.uifoundation.component.xml.XmlComponent
org.pentaho.platform.uifoundation.chart.AbstractChartComponent
org.pentaho.platform.uifoundation.chart.AbstractJFreeChartComponent
- All Implemented Interfaces:
- Serializable, ILogger, IUIComponent, IXMLComponent
- Direct Known Subclasses:
- CategoryDatasetChartComponent, DialChartComponent, PieDatasetChartComponent, TimeSeriesCollectionChartComponent, XYSeriesCollectionChartComponent, XYZSeriesCollectionChartComponent
public abstract class AbstractJFreeChartComponent
- extends AbstractChartComponent
- See Also:
- Serialized Form
Fields inherited from interface org.pentaho.platform.api.engine.ILogger |
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN |
Methods inherited from class org.pentaho.platform.uifoundation.chart.AbstractChartComponent |
addOuterParamName, dispose, getActionData, getActionName, getActionOutput, getActionPath, getContext, getDefinitionPath, getHeight, getInstanceId, getLogger, getParamName, getSolution, getTitle, getUrlTemplate, getValues, getWidth, isByRow, setActionName, setActionOutput, setActionPath, setByRow, setContext, setDataAction, setDefinitionPath, setHeight, setInstanceId, setLogger, setParamName, setSolution, setTitle, setUrlTemplate, setValues, setWidth |
Methods inherited from class org.pentaho.platform.uifoundation.component.BaseUIComponent |
done, getObjectParameter, getParameter, getParameterAsArray, getParameterProviders, getXsl, getXslProperties, handleRequest, setParameterProvider, setParameterProviders, setRequestHandler, setUrlFactory, setXsl, setXslProperty, validate, validate |
Methods inherited from class org.pentaho.platform.engine.services.PentahoMessenger |
debug, debug, error, error, fatal, fatal, getMessages, getUserString, info, info, setMessages, trace, trace, warn, warn |
createChart
public abstract Dataset createChart(Document doc)
- Creates a Dataset object (actaully one of it's subclasses from the XML
doc
- Parameters:
doc
- XML document that describes the chart
- Returns:
- the Dataset Implementation
getDataDefinitiont
public Dataset getDataDefinitiont()
- Returns:
- Returns the dataSet.
setDataDefinition
public void setDataDefinition(Dataset dataSet)
- Parameters:
dataSet
- The dataSet to set.
getChartType
public int getChartType()
- Returns:
- Returns the chartType.
setChartType
public void setChartType(int chartType)
- Parameters:
chartType
- The chartType to set.
setDataAction
public boolean setDataAction(String chartDefinition)
- Specified by:
setDataAction
in class AbstractChartComponent
- Parameters:
chartDefinition
- String that represents a file in the solution to create the
chart from.
- Returns:
getResourceAsDocument
public static Document getResourceAsDocument(IPentahoSession userSession,
IActionSequenceResource actionResource)
throws IOException
- Throws:
IOException