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
FieldsModifier and TypeFieldDescriptionprotected Map<Integer,ResultStatisticsProvider> protected final List<ResultsSummary>protected final PlanIdentifierprotected final StringFields inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
chartTitle, contextPath, height, shortUrlUsed, width, xAxisLabel, yAxisLabel -
Constructor Summary
ConstructorsConstructorDescriptionBuildFailuresChart(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 voidappendTooltipSuffix(StringBuilder tooltip, ResultsSummary buildResultsSummary) protected org.jfree.chart.JFreeChartgenerateChart(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.JFreeChartgetChart()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:
generateChartParamsin interfaceChartBuilder
-
getChart
public org.jfree.chart.JFreeChart getChart() -
generateChart
protected org.jfree.chart.JFreeChart generateChart(org.jfree.data.xy.CategoryTableXYDataset dataSet1) -
generateToolTip
- Specified by:
generateToolTipin interfaceorg.jfree.chart.labels.XYToolTipGenerator
-
generateURL
- Specified by:
generateURLin interfaceorg.jfree.chart.urls.XYURLGenerator
-
appendTooltipSuffix
-