net.sf.statcvs.charts

Class LOCChartMaker

Known Direct Subclasses:
LOCChartMaker.AllDevelopersLOCChartMaker, LOCChartMaker.AllDirectoriesLOCChartMaker, LOCChartMaker.DirectoryLOCChartMaker, LOCChartMaker.MainLOCChartMaker

public class LOCChartMaker
extends Object

Produces Lines Of Code charts TODO: At least the single-series charts should be done by TimeLineChartMakers
Version:
$Id: LOCChartMaker.java,v 1.14 2008/04/02 11:22:15 benoitx Exp $
Authors:
jentzsch
Richard Cyganiak (richard@cyganiak.de)

Nested Class Summary

static class
LOCChartMaker.AllDevelopersLOCChartMaker
static class
LOCChartMaker.AllDirectoriesLOCChartMaker
static class
LOCChartMaker.DirectoryLOCChartMaker
static class
LOCChartMaker.MainLOCChartMaker

Constructor Summary

LOCChartMaker(ReportConfig config, List locSeriesList, String title, String fileName, Dimension size, List annotations)
Creates a Lines Of Code chart from a list of BasicTimesSeries and saves it as PNG
LOCChartMaker(ReportConfig config, TimeSeries locSeries, String title, String fileName, Dimension size, List annotations)
Creates a Lines Of Code chart from a BasicTimeSeries and saves it as PNG

Method Summary

ChartImage
toFile()

Constructor Details

LOCChartMaker

public LOCChartMaker(ReportConfig config,
                     List locSeriesList,
                     String title,
                     String fileName,
                     Dimension size,
                     List annotations)
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
fileName - the filename where the chart will be saved
size - width and height of PNG in pixels

LOCChartMaker

public LOCChartMaker(ReportConfig config,
                     TimeSeries locSeries,
                     String title,
                     String fileName,
                     Dimension size,
                     List annotations)
Creates a Lines Of Code chart from a BasicTimeSeries and saves it as PNG
Parameters:
locSeries - the LOC history
title - the chart title
fileName - the filename where the chart will be saved
size - width and height of PNG in pixels
annotations -

Method Details

toFile

public ChartImage toFile()