de.laures.cewolf.taglib
Class CombinedChartDefinition

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

public class CombinedChartDefinition
extends AbstractChartDefinition

Chart definition subclass to handle combined charts

Author:
guido, tbardzil
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
CombinedChartDefinition()
           
 
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 setLayout(java.lang.String layout)
           
 
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

CombinedChartDefinition

public CombinedChartDefinition()
Method Detail

setLayout

public void setLayout(java.lang.String layout)

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


cewolf tag library - web charts with JFreeChart