net.sf.statcvs.charts
public class LOCChartMaker extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LOCChartMaker.AllDevelopersLOCChartMaker |
static class |
LOCChartMaker.AllDirectoriesLOCChartMaker |
static class |
LOCChartMaker.AllModulesLOCChartMaker |
static class |
LOCChartMaker.DirectoryLOCChartMaker |
static class |
LOCChartMaker.MainLOCChartMaker |
Constructor and Description |
---|
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
|
LOCChartMaker(String chartName,
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
|
public LOCChartMaker(String chartName, ReportConfig config, TimeSeries locSeries, String title, String fileName, Dimension size, List annotations)
locSeries
- the LOC historytitle
- the chart titlefileName
- the filename where the chart will be savedsize
- width and height of PNG in pixelsannotations
- public LOCChartMaker(String chartName, ReportConfig config, List locSeriesList, String title, String fileName, Dimension size, List annotations)
locSeriesList
- a list of BasicTimesSeriestitle
- the chart titlefileName
- the filename where the chart will be savedsize
- width and height of PNG in pixelspublic ChartImage toFile()