com.atlassian.bamboo.charts.timeperiod
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
public abstract class AbstractTimePeriodGroupedChart
- extends AbstractBambooChart
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 |
MONTH
public static final String MONTH
- See Also:
- Constant Field Values
YEAR
public static final String YEAR
- See Also:
- Constant Field Values
WEEK
public static final String WEEK
- See Also:
- Constant Field Values
DAY
public static final String DAY
- See Also:
- Constant Field Values
AbstractTimePeriodGroupedChart
public AbstractTimePeriodGroupedChart(int height,
int width,
String chartTitle,
String xAxisLabel,
String yAxisLabel,
String periodRange)
populateDataSet
protected org.jfree.data.time.TimeTableXYDataset populateDataSet(Collection<ResultStatisticsProvider> results,
org.jfree.data.time.TimeTableXYDataset dataset,
String seriesName)
getAllPeriodsBetweenDates
protected List getAllPeriodsBetweenDates(Date earliest,
Date latest)
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
protected org.jfree.data.time.RegularTimePeriod getPeriod(Date date,
String periodRange)
isInPeriod
protected boolean isInPeriod(org.jfree.data.time.RegularTimePeriod time,
Date date)
getPeriodRange
public String getPeriodRange()
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.