de.laures.cewolf.taglib
Class OverlaidChartDefinition
java.lang.Object
de.laures.cewolf.taglib.AbstractChartDefinition
de.laures.cewolf.taglib.OverlaidChartDefinition
- All Implemented Interfaces:
- ChartHolder, ChartImageRenderListener, java.io.Serializable, TaglibConstants
- public class OverlaidChartDefinition
- extends AbstractChartDefinition
- implements java.io.Serializable
- Author:
- guido
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
- See Also:
- Serialized Form
Method Summary |
void |
addPlot(PlotDefinition pd)
|
java.lang.Object |
getDataset()
Returns the dataset produced when using this definition.The type of this object is dependant on the underlying
chart implementation. |
protected org.jfree.chart.JFreeChart |
produceChart()
|
void |
setXAxisType(int xAxisType)
Sets the xAxisType. |
void |
setYAxisType(int yAxisType)
Sets the yAxisType. |
Methods inherited from class de.laures.cewolf.taglib.AbstractChartDefinition |
addPostProcessor, addPostProcessorParams, getChart, getLegend, onImageRendered, removeLegend, setAntialias, setBackground, setBackgroundImageAlpha, setLegendAnchor, setPaint, setShowLegend, setTitle, setType, setXAxisLabel, setYAxisLabel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OverlaidChartDefinition
public OverlaidChartDefinition()
getDataset
public java.lang.Object getDataset()
throws DatasetProduceException
- Description copied from interface:
ChartHolder
- Returns the dataset produced when using this definition.The type of this object is dependant on the underlying
chart implementation. As of this version of Cewolf it is of type
org.jfree.data.Dataset.
- Specified by:
getDataset
in interface ChartHolder
- Returns:
- Object the dataset for this definition
- Throws:
DatasetProduceException
- if the dataset could not be produced
addPlot
public void addPlot(PlotDefinition pd)
produceChart
protected org.jfree.chart.JFreeChart produceChart()
throws DatasetProduceException,
ChartValidationException
- Specified by:
produceChart
in class AbstractChartDefinition
- Throws:
DatasetProduceException
ChartValidationException
setXAxisType
public void setXAxisType(int xAxisType)
- Sets the xAxisType.
- Parameters:
xAxisType
- The xAxisType to set
setYAxisType
public void setYAxisType(int yAxisType)
- Sets the yAxisType.
- Parameters:
yAxisType
- The yAxisType to set
Copyright © {inceptionYear}-2007 null. All Rights Reserved.