net.sf.statcvs.renderer
Class LOCChart

java.lang.Object
  |
  +--net.sf.statcvs.renderer.Chart
        |
        +--net.sf.statcvs.renderer.LOCChart

public class LOCChart
extends Chart

Class for producing Lines Of Code charts TODO: Replace by TimeSeriesChart

Version:
$Id: LOCChart.java,v 1.31 2003/06/05 10:51:54 cyganiak Exp $
Author:
jentzsch

Constructor Summary
LOCChart(com.jrefinery.data.BasicTimeSeries locSeries, java.lang.String title, java.lang.String subTitle, java.lang.String fileName, int width, int height)
          Creates a Lines Of Code chart from a BasicTimeSeries and saves it as PNG
LOCChart(java.util.List locSeriesList, java.lang.String title, java.lang.String subTitle, java.lang.String fileName, int width, int height)
          Creates a Lines Of Code chart from a list of BasicTimesSeries and saves it as PNG
 
Methods inherited from class net.sf.statcvs.renderer.Chart
createChart, getChart, getFileName, saveChart, saveChart, setChart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LOCChart

public LOCChart(com.jrefinery.data.BasicTimeSeries locSeries,
                java.lang.String title,
                java.lang.String subTitle,
                java.lang.String fileName,
                int width,
                int height)
Creates a Lines Of Code chart from a BasicTimeSeries and saves it as PNG

Parameters:
locSeries - the LOC history
title - the chart title
subTitle - the chart subtitle
fileName - the filename where the chart will be saved
width - width of PNG in pixels
height - height of PNG in pixels

LOCChart

public LOCChart(java.util.List locSeriesList,
                java.lang.String title,
                java.lang.String subTitle,
                java.lang.String fileName,
                int width,
                int height)
Creates a Lines Of Code chart from a list of BasicTimesSeries and saves it as PNG

Parameters:
locSeriesList - a list of BasicTimesSeries
title - the chart title
subTitle - the chart subtitle
fileName - the filename where the chart will be saved
width - width of PNG in pixels
height - height of PNG in pixels