de.laures.cewolf.taglib
Class SimpleChartDefinition

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

public class SimpleChartDefinition
extends AbstractChartDefinition
implements DataAware

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
SimpleChartDefinition()
           
 
Method Summary
 org.jfree.data.general.Dataset getDataset()
          Returns the dataset produced when using this definition.
protected  org.jfree.chart.JFreeChart produceChart()
           
 void setDataProductionConfig(DatasetProducer dsp, java.util.Map params, boolean useCache)
           
 
Methods inherited from class de.laures.cewolf.taglib.AbstractChartDefinition
addPostProcessor, addPostProcessorParams, 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

SimpleChartDefinition

public SimpleChartDefinition()
Method Detail

produceChart

protected org.jfree.chart.JFreeChart produceChart()
                                           throws DatasetProduceException,
                                                  ChartValidationException
Specified by:
produceChart in class AbstractChartDefinition
Throws:
DatasetProduceException
ChartValidationException

getDataset

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

Specified by:
getDataset in interface ChartHolder
Returns:
Object the dataset for this definition
Throws:
DatasetProduceException - if the dataset could not be produced

setDataProductionConfig

public void setDataProductionConfig(DatasetProducer dsp,
                                    java.util.Map params,
                                    boolean useCache)
Specified by:
setDataProductionConfig in interface DataAware


cewolf tag library - web charts with JFreeChart