net.sf.statcvs.charts
Class TimeBarChartMaker
public abstract class TimeBarChartMaker
Produces bar charts where each bar represents a time slot, e.g. a weekday.,
and each revision from a given collection is sorted into the appropriate
slot.
$Id: TimeBarChartMaker.java,v 1.4 2008/04/02 11:22:15 benoitx Exp $- jentzsch
- Richard Cyganiak (richard@cyganiak.de)
TimeBarChartMaker
public TimeBarChartMaker(ReportConfig config,
SortedSet revisions,
String title,
String fileName,
String[] barLabels) Creates a new BarChartMaker.
config - The configuration to userevisions - The revisions to analyzetitle - The chart's titlefileName - The file name for the image file, including .png extensionbarLabels - The labels for each bar
barNumberForTime
protected abstract int barNumberForTime(Calendar time)
toFile
public ChartImage toFile()
Creates a bar chart image file.
- An image file containing the chart