ca.utoronto.JCVSReport.report
Class BarGraph
java.lang.Object
ca.utoronto.JCVSReport.report.BasicGraph
ca.utoronto.JCVSReport.report.BarGraph
- All Implemented Interfaces:
- Graph
- Direct Known Subclasses:
- PieGraph
- public class BarGraph
- extends BasicGraph
Show how much each developer contributes to several metrics
over time using a bar graph
- Author:
- David James
Method Summary |
protected org.jfree.chart.JFreeChart |
getChart()
Build a chart from a seriesCollection |
protected org.jfree.data.general.Dataset |
getDataset()
Build a dataset object from an SQL query
NOTE: We assume that the SQL query returns values sorted by date |
Methods inherited from class ca.utoronto.JCVSReport.report.BasicGraph |
executeQuery, getHeight, getKey, getMetricNames, getProperty, getProperty, getSeriesLabel, getStoredMetricValue, getTitle, getWidth, getXLabel, getYLabel, init, setPerDeveloper, storeMetricValue, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BarGraph
public BarGraph()
getDataset
protected org.jfree.data.general.Dataset getDataset()
throws Exception
- Build a dataset object from an SQL query
NOTE: We assume that the SQL query returns values sorted by date
- Specified by:
getDataset
in class BasicGraph
- Throws:
Exception
getChart
protected org.jfree.chart.JFreeChart getChart()
throws Exception
- Build a chart from a seriesCollection
- Specified by:
getChart
in class BasicGraph
- Throws:
Exception
JCVSReport: Easy Progress Reports for CVS/Java Projects. By David James.