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