de.laures.cewolf
Interface ChartHolder

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractChartDefinition, ChartImageDefinition, CombinedChartDefinition, OverlaidChartDefinition, SimpleChartDefinition

public interface ChartHolder
extends java.io.Serializable

An object of this type represents a full description of a chart. Therefore it is able to produce the chart and dataset object resulting out of this definition.

Author:
Guido Laures

Method Summary
 org.jfree.chart.JFreeChart getChart()
          Returns a chart.
 org.jfree.data.general.Dataset getDataset()
          Returns the dataset produced when using this definition.
 

Method Detail

getChart

org.jfree.chart.JFreeChart getChart()
                                    throws DatasetProduceException,
                                           PostProcessingException,
                                           ChartValidationException
Returns a chart.

Returns:
the chart object for this definition
Throws:
DatasetProduceException - if there could be no data produced for the cahrt
ConfigurationException - if there is something wrong in the Cewolf configuration
PostProcessingException - if a post processor failed to process the chart
ChartValidationException

getDataset

org.jfree.data.general.Dataset getDataset()
                                          throws DatasetProduceException
Returns the dataset produced when using this definition.

Returns:
Object the dataset for this definition
Throws:
DatasetProduceException - if the dataset could not be produced


cewolf tag library - web charts with JFreeChart