Class SuccessRatioStackedAreaChart
java.lang.Object
com.atlassian.bamboo.charts.AbstractBambooChart
com.atlassian.bamboo.charts.timeperiod.AbstractTimePeriodGroupedChart
com.atlassian.bamboo.charts.timeperiod.SuccessRatioStackedAreaChart
- All Implemented Interfaces:
ChartBuilder,org.jfree.chart.labels.XYToolTipGenerator
public class SuccessRatioStackedAreaChart
extends AbstractTimePeriodGroupedChart
implements org.jfree.chart.labels.XYToolTipGenerator
-
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.timeperiod.AbstractTimePeriodGroupedChart
DAY, MONTH, WEEK, YEARFields inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
chartTitle, contextPath, height, shortUrlUsed, width, xAxisLabel, yAxisLabel -
Constructor Summary
ConstructorsConstructorDescriptionSuccessRatioStackedAreaChart(int height, int width, com.atlassian.core.i18n.I18nTextProvider i18n) SuccessRatioStackedAreaChart(int height, int width, String periodRange, com.atlassian.core.i18n.I18nTextProvider i18n) SuccessRatioStackedAreaChart(int height, int width, String periodRange, Collection<? extends ResultStatisticsProvider> results, @NotNull com.atlassian.core.i18n.I18nTextProvider i18n) -
Method Summary
Modifier and TypeMethodDescriptionprotected TimePeriodCollatercreateNewPeriod(Date buildDate, ResultStatisticsProvider result, String seriesName) generateToolTip(org.jfree.data.xy.XYDataset xyDataset, int series, int item) org.jfree.chart.JFreeChartgetChart()protected voidwriteCounterToDataSet(org.jfree.data.time.TimeTableXYDataset dataset, TimePeriodCollater counter) Methods inherited from class com.atlassian.bamboo.charts.timeperiod.AbstractTimePeriodGroupedChart
getAllPeriodsBetweenDates, getPeriod, getPeriodRange, isInPeriod, populateDataSetMethods 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
-
Constructor Details
-
SuccessRatioStackedAreaChart
public SuccessRatioStackedAreaChart(int height, int width, com.atlassian.core.i18n.I18nTextProvider i18n) -
SuccessRatioStackedAreaChart
public SuccessRatioStackedAreaChart(int height, int width, String periodRange, com.atlassian.core.i18n.I18nTextProvider i18n) -
SuccessRatioStackedAreaChart
public SuccessRatioStackedAreaChart(int height, int width, String periodRange, Collection<? extends ResultStatisticsProvider> results, @NotNull @NotNull com.atlassian.core.i18n.I18nTextProvider i18n)
-
-
Method Details
-
generateChartParams
- Specified by:
generateChartParamsin interfaceChartBuilder
-
getChart
public org.jfree.chart.JFreeChart getChart() -
generateToolTip
- Specified by:
generateToolTipin interfaceorg.jfree.chart.labels.XYToolTipGenerator
-
createNewPeriod
protected TimePeriodCollater createNewPeriod(Date buildDate, ResultStatisticsProvider result, String seriesName) - Specified by:
createNewPeriodin classAbstractTimePeriodGroupedChart
-
writeCounterToDataSet
protected void writeCounterToDataSet(org.jfree.data.time.TimeTableXYDataset dataset, TimePeriodCollater counter) - Specified by:
writeCounterToDataSetin classAbstractTimePeriodGroupedChart
-