Class AbstractTimePeriodGroupedChart
java.lang.Object
com.atlassian.bamboo.charts.AbstractBambooChart
com.atlassian.bamboo.charts.timeperiod.AbstractTimePeriodGroupedChart
- All Implemented Interfaces:
ChartBuilder
- Direct Known Subclasses:
AverageDurationLineChart
,SuccessRatioStackedAreaChart
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
AbstractBambooChart.AutoRange, AbstractBambooChart.NotifyListeners
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
chartTitle, contextPath, height, shortUrlUsed, width, xAxisLabel, yAxisLabel
-
Constructor Summary
ConstructorDescriptionAbstractTimePeriodGroupedChart
(int height, int width, String chartTitle, String xAxisLabel, String yAxisLabel, String periodRange) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TimePeriodCollater
createNewPeriod
(Date buildDate, ResultStatisticsProvider result, String seriesName) protected List
getAllPeriodsBetweenDates
(Date earliest, Date latest) protected org.jfree.data.time.RegularTimePeriod
protected boolean
isInPeriod
(org.jfree.data.time.RegularTimePeriod time, Date date) protected org.jfree.data.time.TimeTableXYDataset
populateDataSet
(Collection<ResultStatisticsProvider> results, org.jfree.data.time.TimeTableXYDataset dataset, String seriesName) protected abstract void
writeCounterToDataSet
(org.jfree.data.time.TimeTableXYDataset dataset, TimePeriodCollater counter) 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.charts.ChartBuilder
generateChartParams
-
Field Details
-
MONTH
- See Also:
-
YEAR
- See Also:
-
WEEK
- See Also:
-
DAY
- See Also:
-
-
Constructor Details
-
AbstractTimePeriodGroupedChart
-
-
Method Details
-
populateDataSet
protected org.jfree.data.time.TimeTableXYDataset populateDataSet(Collection<ResultStatisticsProvider> results, org.jfree.data.time.TimeTableXYDataset dataset, String seriesName) -
getAllPeriodsBetweenDates
-
createNewPeriod
protected abstract TimePeriodCollater createNewPeriod(Date buildDate, ResultStatisticsProvider result, String seriesName) -
writeCounterToDataSet
protected abstract void writeCounterToDataSet(org.jfree.data.time.TimeTableXYDataset dataset, TimePeriodCollater counter) -
getPeriod
-
isInPeriod
-
getPeriodRange
-