hudson.plugins.testabilityexplorer.report.charts
Class RangedOverallTrend
java.lang.Object
hudson.plugins.testabilityexplorer.report.charts.RangedTrend
hudson.plugins.testabilityexplorer.report.charts.RangedOverallTrend
public class RangedOverallTrend
- extends RangedTrend
Helper class that is able to construct a JFree CategoryDataset which may be used to draw a line chart for the overall testability.
A RangedOverallTrend can also calculate the corrent upper bound Integer value which may be used to limit the range
axis in size.
- Author:
- reik.schatz
|
Method Summary |
org.jfree.data.category.CategoryDataset |
getCategoryDataset()
Builds and returns a CategoryDataset represents the overall testability trend. |
int |
getUpperBoundRangeAxis()
Returns an Integer which may be used in a JFree line chart to call ValueAxis.setUpperBound(double)
with a correct value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOTAL_COST_TEMPLATE
public static final CostTemplate TOTAL_COST_TEMPLATE
RangedOverallTrend
public RangedOverallTrend(java.util.List<BuildAndResults> items)
getUpperBoundRangeAxis
public int getUpperBoundRangeAxis()
- Returns an Integer which may be used in a JFree line chart to call
ValueAxis.setUpperBound(double)
with a correct value.
- Specified by:
getUpperBoundRangeAxis in class RangedTrend
- Returns:
- int
getCategoryDataset
public org.jfree.data.category.CategoryDataset getCategoryDataset()
- Builds and returns a
CategoryDataset represents the overall testability trend. This
CategoryDataset can be used to draw a JFree line chart.
- Specified by:
getCategoryDataset in class RangedTrend
- Returns:
- CategoryDataset
Copyright © 2009. All Rights Reserved.