org.codehaus.mojo.dashboard.report.plugin.chart
Class PieChartRenderer

java.lang.Object
  extended by org.codehaus.mojo.dashboard.report.plugin.chart.AbstractChartRenderer
      extended by org.codehaus.mojo.dashboard.report.plugin.chart.PieChartRenderer

public class PieChartRenderer
extends AbstractChartRenderer

Author:
David Vicente

Field Summary
 
Fields inherited from class org.codehaus.mojo.dashboard.report.plugin.chart.AbstractChartRenderer
datasetStrategy, report
 
Constructor Summary
PieChartRenderer(IChartStrategy strategy)
           
PieChartRenderer(IChartStrategy strategy, int width, int height)
           
 
Method Summary
protected  void createChart()
          create the chart with the IChartStrategy
 
Methods inherited from class org.codehaus.mojo.dashboard.report.plugin.chart.AbstractChartRenderer
createBufferedImage, getFileExtension, getMimeType, isEmpty, saveToFile, setHeight, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PieChartRenderer

public PieChartRenderer(IChartStrategy strategy)
Parameters:
dashboardReport -
strategy -

PieChartRenderer

public PieChartRenderer(IChartStrategy strategy,
                        int width,
                        int height)
Parameters:
dashboardReport -
strategy -
width -
height -
Method Detail

createChart

protected void createChart()
Description copied from class: AbstractChartRenderer
create the chart with the IChartStrategy

Specified by:
createChart in class AbstractChartRenderer


Copyright © 2006-2010 CodeHaus. All Rights Reserved.