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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
chartTitle, contextPath, height, shortUrlUsed, width, xAxisLabel, yAxisLabel -
Constructor Summary
ConstructorsConstructorDescriptionAbstractTimePeriodGroupedChart(int height, int width, String chartTitle, String xAxisLabel, String yAxisLabel, String periodRange) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TimePeriodCollatercreateNewPeriod(Date buildDate, ResultStatisticsProvider result, String seriesName) protected ListgetAllPeriodsBetweenDates(Date earliest, Date latest) protected org.jfree.data.time.RegularTimePeriodprotected booleanisInPeriod(org.jfree.data.time.RegularTimePeriod time, Date date) protected org.jfree.data.time.TimeTableXYDatasetpopulateDataSet(Collection<ResultStatisticsProvider> results, org.jfree.data.time.TimeTableXYDataset dataset, String seriesName) protected abstract voidwriteCounterToDataSet(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, setyAxisLabelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-