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
ConstructorDescriptionAverageDurationLineChart
(int height, int width, String periodRange, List<? extends ResultStatisticsProvider> filteredResults, @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
-
AverageDurationLineChart
public AverageDurationLineChart(int height, int width, String periodRange, List<? extends ResultStatisticsProvider> filteredResults, @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
-