Package net.sf.statcvs.charts
Class LOCChartMaker
java.lang.Object
net.sf.statcvs.charts.LOCChartMaker
- Direct Known Subclasses:
LOCChartMaker.AllDevelopersLOCChartMaker,LOCChartMaker.AllDirectoriesLOCChartMaker,LOCChartMaker.AllModulesLOCChartMaker,LOCChartMaker.DirectoryLOCChartMaker,LOCChartMaker.MainLOCChartMaker
Produces Lines Of Code charts
TODO: At least the single-series charts should be done by TimeLineChartMakers
- Version:
- $Id: LOCChartMaker.java,v 1.19 2009/08/31 19:16:35 benoitx Exp $
- Author:
- jentzsch, Richard Cyganiak (richard@cyganiak.de)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionLOCChartMaker(String chartName, 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 PNGLOCChartMaker(String chartName, ReportConfig config, org.jfree.data.time.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
-
Constructor Details
-
LOCChartMaker
public LOCChartMaker(String chartName, ReportConfig config, org.jfree.data.time.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 historytitle- the chart titlefileName- the filename where the chart will be savedsize- width and height of PNG in pixelsannotations-
-
LOCChartMaker
public LOCChartMaker(String chartName, 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 BasicTimesSeriestitle- the chart titlefileName- the filename where the chart will be savedsize- width and height of PNG in pixels
-
-
Method Details
-
toFile
-