net.sf.statcvs.charts
Class LOCChartMaker
java.lang.Object
net.sf.statcvs.charts.LOCChartMaker
- Direct Known Subclasses:
- LOCChartMaker.AllDevelopersLOCChartMaker, LOCChartMaker.AllDirectoriesLOCChartMaker, LOCChartMaker.DirectoryLOCChartMaker, LOCChartMaker.MainLOCChartMaker
public class LOCChartMaker
- extends java.lang.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 $
- Author:
- jentzsch, Richard Cyganiak (richard@cyganiak.de)
Constructor Summary |
LOCChartMaker(ReportConfig config,
java.util.List locSeriesList,
java.lang.String title,
java.lang.String fileName,
java.awt.Dimension size,
java.util.List annotations)
Creates a Lines Of Code chart from a list of BasicTimesSeries and
saves it as PNG |
LOCChartMaker(ReportConfig config,
org.jfree.data.time.TimeSeries locSeries,
java.lang.String title,
java.lang.String fileName,
java.awt.Dimension size,
java.util.List annotations)
Creates a Lines Of Code chart from a BasicTimeSeries and
saves it as PNG |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCChartMaker
public LOCChartMaker(ReportConfig config,
org.jfree.data.time.TimeSeries locSeries,
java.lang.String title,
java.lang.String fileName,
java.awt.Dimension size,
java.util.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(ReportConfig config,
java.util.List locSeriesList,
java.lang.String title,
java.lang.String fileName,
java.awt.Dimension size,
java.util.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
toFile
public ChartImage toFile()
Copyright © 2008. All Rights Reserved.