org.romaframework.module.chart.jfreechart.charttypes
Class AreaTypeRenderer

java.lang.Object
  extended by org.romaframework.module.chart.jfreechart.charttypes.AreaTypeRenderer
All Implemented Interfaces:
ChartTypeRenderer

public class AreaTypeRenderer
extends java.lang.Object
implements ChartTypeRenderer

provides the logic to represent a dataset as an area chart

Author:
Luigi Dell'Aquila

Constructor Summary
AreaTypeRenderer()
           
 
Method Summary
 void render(org.jfree.data.general.Dataset dataset, RenderOptions options, java.io.OutputStream outputStream)
          this method must read a dataset and the options and write the resulting image on the output stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AreaTypeRenderer

public AreaTypeRenderer()
Method Detail

render

public void render(org.jfree.data.general.Dataset dataset,
                   RenderOptions options,
                   java.io.OutputStream outputStream)
Description copied from interface: ChartTypeRenderer
this method must read a dataset and the options and write the resulting image on the output stream

Specified by:
render in interface ChartTypeRenderer
Parameters:
dataset - the data set to be represented
options - the options about how to represent the graph (width/height, orientation, labels etc.)
outputStream - the stream where this method has to write the chart image