Class AverageDurationLineChart
- java.lang.Object
-
- com.atlassian.bamboo.charts.AbstractBambooChart
-
- com.atlassian.bamboo.charts.timeperiod.AbstractTimePeriodGroupedChart
-
- com.atlassian.bamboo.charts.timeperiod.AverageDurationLineChart
-
- All Implemented Interfaces:
ChartBuilder
,org.jfree.chart.labels.XYToolTipGenerator
public class AverageDurationLineChart 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
Constructors Constructor Description AverageDurationLineChart(int height, int width, String periodRange, List<? extends ResultStatisticsProvider> filteredResults, @NotNull com.atlassian.core.i18n.I18nTextProvider i18n)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TimePeriodCollater
createNewPeriod(Date buildDate, ResultStatisticsProvider result, String seriesName)
Map<String,Object>
generateChartParams()
String
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 Detail
-
AverageDurationLineChart
public AverageDurationLineChart(int height, int width, String periodRange, List<? extends ResultStatisticsProvider> filteredResults, @NotNull @NotNull com.atlassian.core.i18n.I18nTextProvider i18n)
-
-
Method Detail
-
generateChartParams
public Map<String,Object> generateChartParams()
- Specified by:
generateChartParams
in interfaceChartBuilder
-
getChart
public org.jfree.chart.JFreeChart getChart()
-
generateToolTip
public String generateToolTip(org.jfree.data.xy.XYDataset xyDataset, int series, int item)
- 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
-
-