Package com.atlassian.bamboo.charts
Class TestCaseBuildTimesChart
- java.lang.Object
-
- com.atlassian.bamboo.charts.AbstractBambooChart
-
- com.atlassian.bamboo.charts.TestCaseBuildTimesChart
-
- All Implemented Interfaces:
ChartBuilder
,org.jfree.chart.labels.XYToolTipGenerator
,org.jfree.chart.urls.XYURLGenerator
public class TestCaseBuildTimesChart extends AbstractBambooChart implements org.jfree.chart.labels.XYToolTipGenerator, org.jfree.chart.urls.XYURLGenerator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
AbstractBambooChart.AutoRange, AbstractBambooChart.NotifyListeners
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
chartTitle, contextPath, height, shortUrlUsed, width, xAxisLabel, yAxisLabel
-
-
Constructor Summary
Constructors Constructor Description TestCaseBuildTimesChart(int height, int width, String chartTitle, String xAxisLabel, String yAxisLabel, TestCase testCase, List<TestCaseResultStatisticsProvider> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addDataSet(ResultStatisticsProvider result, org.jfree.data.xy.CategoryTableXYDataset categoryTableXYDataSet)
protected org.jfree.chart.JFreeChart
generateChart(org.jfree.data.xy.CategoryTableXYDataset dataSet, Map<Integer,ResultStatisticsProvider> resultsMap)
Map<String,Object>
generateChartParams()
String
generateToolTip(org.jfree.data.xy.XYDataset dataset, int row, int column)
String
generateURL(org.jfree.data.xy.XYDataset dataset, int row, int column)
protected org.jfree.chart.JFreeChart
getChart()
-
Methods inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
configureDurationRangeAxis, configureDurationRangeAxis, configureDurationRangeAxisForSeconds, generateChartImage, generateChartImage, generateRandomMapName, getChartTitle, getContextPath, getHeight, getWidth, getxAxisLabel, getyAxisLabel, isShortUrlUsed, setChartTitle, setContextPath, setHeight, setShortUrlUsed, setWidth, setxAxisLabel, setyAxisLabel
-
-
-
-
Method Detail
-
addDataSet
protected void addDataSet(ResultStatisticsProvider result, org.jfree.data.xy.CategoryTableXYDataset categoryTableXYDataSet)
-
generateChartParams
public Map<String,Object> generateChartParams()
- Specified by:
generateChartParams
in interfaceChartBuilder
-
generateChart
protected org.jfree.chart.JFreeChart generateChart(org.jfree.data.xy.CategoryTableXYDataset dataSet, Map<Integer,ResultStatisticsProvider> resultsMap)
-
getChart
protected org.jfree.chart.JFreeChart getChart()
-
generateToolTip
public String generateToolTip(org.jfree.data.xy.XYDataset dataset, int row, int column)
- Specified by:
generateToolTip
in interfaceorg.jfree.chart.labels.XYToolTipGenerator
-
generateURL
public String generateURL(org.jfree.data.xy.XYDataset dataset, int row, int column)
- Specified by:
generateURL
in interfaceorg.jfree.chart.urls.XYURLGenerator
-
-