|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.chart.core.ChartDocument
public class ChartDocument
This is the object that contains the root element of the parsed chart defintion
Constructor Summary | |
---|---|
ChartDocument(ChartElement rootElement)
Constructor that creats the chart document. |
Method Summary | |
---|---|
ChartElement[] |
getAxisElements()
Provides the axis element in the given chart document. |
AxisSeriesLinkInfo |
getAxisSeriesLinkInfo()
Get all the axis elements from the chart document and store it in a multi key HashMap where the key is the axis-id and "axis" tag. |
ChartElement |
getChartLevelElement(String tagName)
Gets the specified element from the chart document (achart element). |
ChartElement[] |
getGroupChartElements()
Creates a list of all the series ChartElements that are the children of the chart tag. |
long |
getModNumber()
Returns the modification number from the root element. |
ChartElement |
getPlotElement()
Provides the plot element in the given chart document. |
org.pentaho.reporting.libraries.css.values.CSSValue |
getPlotOrientation()
Provides the CSSValue for Plot Orientation eg: horizontal or vertical |
org.pentaho.reporting.libraries.resourceloader.ResourceKey |
getResourceKey()
Returns the ResourceKey that serves as the base location for loading relative information |
org.pentaho.reporting.libraries.resourceloader.ResourceManager |
getResourceManager()
Returns the ResourceManager used to load the chart document |
ChartElement |
getRootElement()
Returns the root element of the parsed chart document |
ChartElement[] |
getSeriesChartElements()
Creates a list of all the series ChartElements that are the children of the chart tag. |
boolean |
isByRow()
Indicates if the chart is a categorical chart. |
boolean |
isCategorical()
Indicates if the chart is a categorical chart. |
void |
setResourceKey(org.pentaho.reporting.libraries.resourceloader.ResourceKey resourceKey)
Sets the resource key for this chart document |
void |
setResourceManager(org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager)
Sets the resource manager for this chart document |
String |
toString()
Generates a string representation of the chart document |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChartDocument(ChartElement rootElement)
rootElement
- the parsed root element of the chart documentMethod Detail |
---|
public ChartElement getRootElement()
public org.pentaho.reporting.libraries.resourceloader.ResourceManager getResourceManager()
ResourceManager
used to load the chart document
public org.pentaho.reporting.libraries.resourceloader.ResourceKey getResourceKey()
ResourceKey
that serves as the base location for loading relative information
public void setResourceManager(org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager)
public void setResourceKey(org.pentaho.reporting.libraries.resourceloader.ResourceKey resourceKey)
public long getModNumber()
public String toString()
toString
in class Object
public boolean isCategorical()
public boolean isByRow()
public ChartElement[] getSeriesChartElements()
series
ChartElements that are the children of the chart
tag.
ChartElements
which represent the series
tags. If there are none,
the list will be empty.public ChartElement[] getGroupChartElements()
series
ChartElements that are the children of the chart
tag.
ChartElements
which represent the series
tags. If there are none,
the list will be empty.public ChartElement getPlotElement()
public ChartElement[] getAxisElements()
public org.pentaho.reporting.libraries.css.values.CSSValue getPlotOrientation()
public ChartElement getChartLevelElement(String tagName)
tagName
- The tagName to be looked up in the chart document at one level
deeper than the chart tag.
public AxisSeriesLinkInfo getAxisSeriesLinkInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |