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, YEAR
Fields inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
chartTitle, contextPath, height, shortUrlUsed, width, xAxisLabel, yAxisLabel
-
Constructor Summary
ConstructorDescriptionSuccessRatioStackedAreaChart
(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 TimePeriodCollater
createNewPeriod
(Date buildDate, ResultStatisticsProvider result, String seriesName) generateToolTip
(org.jfree.data.xy.XYDataset xyDataset, int series, int item) org.jfree.chart.JFreeChart
getChart()
protected void
writeCounterToDataSet
(org.jfree.data.time.TimeTableXYDataset dataset, TimePeriodCollater counter) Methods inherited from class com.atlassian.bamboo.charts.timeperiod.AbstractTimePeriodGroupedChart
getAllPeriodsBetweenDates, getPeriod, getPeriodRange, isInPeriod, populateDataSet
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
-
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:
generateChartParams
in interfaceChartBuilder
-
getChart
public org.jfree.chart.JFreeChart getChart() -
generateToolTip
- Specified by:
generateToolTip
in interfaceorg.jfree.chart.labels.XYToolTipGenerator
-
createNewPeriod
protected TimePeriodCollater createNewPeriod(Date buildDate, ResultStatisticsProvider result, String seriesName) - Specified by:
createNewPeriod
in classAbstractTimePeriodGroupedChart
-
writeCounterToDataSet
protected void writeCounterToDataSet(org.jfree.data.time.TimeTableXYDataset dataset, TimePeriodCollater counter) - Specified by:
writeCounterToDataSet
in classAbstractTimePeriodGroupedChart
-