Package com.atlassian.bamboo.charts
Class BuildTimesChart
java.lang.Object
com.atlassian.bamboo.charts.AbstractBambooChart
com.atlassian.bamboo.charts.BuildTimesChart
- All Implemented Interfaces:
ChartBuilder
,org.jfree.chart.labels.XYToolTipGenerator
,org.jfree.chart.urls.XYURLGenerator
public class BuildTimesChart
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
Modifier and TypeFieldDescriptionprotected Map<Integer,
ResultsSummary> protected final List<ResultsSummary>
protected final PlanIdentifier
Fields inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
chartTitle, contextPath, height, shortUrlUsed, width, xAxisLabel, yAxisLabel
-
Constructor Summary
ConstructorDescriptionBuildTimesChart
(int height, int width, String chartTitle, String xAxisLabel, String yAxisLabel, @NotNull PlanIdentifier plan, @NotNull List<? extends ResultsSummary> filteredResults, @NotNull String seriesLabel) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDataSet
(ResultsSummary resultsSummary, org.jfree.data.xy.CategoryTableXYDataset categoryTableXYDataSet) protected void
appendTooltipSuffix
(StringBuilder tooltip, ResultsSummary buildResultsSummary) protected org.jfree.chart.JFreeChart
generateChart
(org.jfree.data.xy.CategoryTableXYDataset dataSet) generateToolTip
(org.jfree.data.xy.XYDataset dataset, int row, int column) 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
-
Field Details
-
plan
-
filteredResults
-
buildResults
-
-
Constructor Details
-
BuildTimesChart
public BuildTimesChart(int height, int width, String chartTitle, String xAxisLabel, String yAxisLabel, @NotNull @NotNull PlanIdentifier plan, @NotNull @NotNull List<? extends ResultsSummary> filteredResults, @NotNull @NotNull String seriesLabel)
-
-
Method Details
-
appendTooltipSuffix
-
addDataSet
protected void addDataSet(ResultsSummary resultsSummary, org.jfree.data.xy.CategoryTableXYDataset categoryTableXYDataSet) -
generateChart
protected org.jfree.chart.JFreeChart generateChart(org.jfree.data.xy.CategoryTableXYDataset dataSet) -
generateToolTip
- Specified by:
generateToolTip
in interfaceorg.jfree.chart.labels.XYToolTipGenerator
-
generateURL
- Specified by:
generateURL
in interfaceorg.jfree.chart.urls.XYURLGenerator
-
generateChartParams
- Specified by:
generateChartParams
in interfaceChartBuilder
-
getChart
protected org.jfree.chart.JFreeChart getChart()
-