de.laures.cewolf.taglib
Class OverlaidChartDefinition

java.lang.Object
  extended by de.laures.cewolf.taglib.AbstractChartDefinition
      extended by de.laures.cewolf.taglib.OverlaidChartDefinition
All Implemented Interfaces:
ChartHolder, ChartImageRenderListener, java.io.Serializable

public class OverlaidChartDefinition
extends AbstractChartDefinition

Author:
guido
See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.laures.cewolf.taglib.AbstractChartDefinition
borderVisible, plotBorderVisible, showLegend, title, type, xAxisInteger, xAxisLabel, xTickLabelsVisible, xTickMarksVisible, yAxisInteger, yAxisLabel, yTickLabelsVisible, yTickMarksVisible
 
Constructor Summary
OverlaidChartDefinition()
           
 
Method Summary
 void addPlot(PlotDefinition pd)
           
 org.jfree.data.general.Dataset getDataset()
          Returns the dataset produced when using this definition.
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, getChart, getLegend, onImageRendered, removeLegend, setAntialias, setBackground, setBackgroundImageAlpha, setBackgroundPaint, setBorderPaint, setBorderVisible, setLegendAnchor, setPlotBackgroundPaint, setPlotBorderPaint, setPlotBorderVisible, setShowLegend, setTitle, setType, setWebRootDir, setXaxisinteger, setXAxisLabel, setXticklabelsvisible, setXtickmarksvisible, setYaxisinteger, setYAxisLabel, setYticklabelsvisible, setYtickmarksvisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverlaidChartDefinition

public OverlaidChartDefinition()
Method Detail

getDataset

public org.jfree.data.general.Dataset getDataset()
                                          throws DatasetProduceException
Description copied from interface: ChartHolder
Returns the dataset produced when using this definition.

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


cewolf tag library - web charts with JFreeChart