com.atlassian.bamboo.charts.timeperiod
Class SuccessRatioStackedAreaChart

java.lang.Object
  extended by com.atlassian.bamboo.charts.AbstractBambooChart
      extended by com.atlassian.bamboo.charts.timeperiod.AbstractTimePeriodGroupedChart
          extended by com.atlassian.bamboo.charts.timeperiod.SuccessRatioStackedAreaChart
All Implemented Interfaces:
ChartBuilder

public class SuccessRatioStackedAreaChart
extends AbstractTimePeriodGroupedChart


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
SuccessRatioStackedAreaChart(int height, int width, String chartTitle, String xAxisLabel, String yAxisLabel)
           
SuccessRatioStackedAreaChart(int height, int width, String chartTitle, String xAxisLabel, String yAxisLabel, String periodRange)
           
SuccessRatioStackedAreaChart(int height, int width, String chartTitle, String xAxisLabel, String yAxisLabel, String periodRange, Collection results)
           
 
Method Summary
protected  TimePeriodCollater createNewPeriod(Date buildDate, ResultStatisticsProvider result, String seriesName)
           
 Map generateChartParams()
           
 String generateToolTip(XYDataset xyDataset, int series, int item)
           
 JFreeChart getChart()
           
protected  void writeCounterToDataSet(TimeTableXYDataset dataset, TimePeriodCollater counter)
           
 
Methods inherited from class com.atlassian.bamboo.charts.timeperiod.AbstractTimePeriodGroupedChart
getAllPeriodsBetweenDates, getEarliestBuildDate, getLatestbuildDate, getPeriod, getPeriodRange, isInPeriod, populateDataSet
 
Methods inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
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
 

Constructor Detail

SuccessRatioStackedAreaChart

public SuccessRatioStackedAreaChart(int height,
                                    int width,
                                    String chartTitle,
                                    String xAxisLabel,
                                    String yAxisLabel)

SuccessRatioStackedAreaChart

public SuccessRatioStackedAreaChart(int height,
                                    int width,
                                    String chartTitle,
                                    String xAxisLabel,
                                    String yAxisLabel,
                                    String periodRange)

SuccessRatioStackedAreaChart

public SuccessRatioStackedAreaChart(int height,
                                    int width,
                                    String chartTitle,
                                    String xAxisLabel,
                                    String yAxisLabel,
                                    String periodRange,
                                    Collection results)
Method Detail

generateChartParams

public Map generateChartParams()

getChart

public JFreeChart getChart()

generateToolTip

public String generateToolTip(XYDataset xyDataset,
                              int series,
                              int item)

createNewPeriod

protected TimePeriodCollater createNewPeriod(Date buildDate,
                                             ResultStatisticsProvider result,
                                             String seriesName)
Specified by:
createNewPeriod in class AbstractTimePeriodGroupedChart

writeCounterToDataSet

protected void writeCounterToDataSet(TimeTableXYDataset dataset,
                                     TimePeriodCollater counter)
Specified by:
writeCounterToDataSet in class AbstractTimePeriodGroupedChart


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.