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

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

public class StackedBarChartTypeRenderer
extends java.lang.Object
implements ChartTypeRenderer

provides the logic to represent a dataset as a stacked bar chart

Author:
Luigi Dell'Aquila

Constructor Summary
StackedBarChartTypeRenderer()
           
 
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

StackedBarChartTypeRenderer

public StackedBarChartTypeRenderer()
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