com.atlassian.bamboo.charts
Class BuildTimesChart

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

public class BuildTimesChart
extends AbstractBambooChart


Field Summary
protected  Build build
           
protected  Map buildResults
           
protected  List filteredResults
           
 
Fields inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
chartTitle, contextPath, height, shortUrlUsed, width, xAxisLabel, yAxisLabel
 
Constructor Summary
BuildTimesChart(int height, int width, String chartTitle, String xAxisLabel, String yAxisLabel, Build build, List filteredResults)
           
 
Method Summary
protected  void addDataSet(BuildResultsSummary buildResultsSummary, CategoryTableXYDataset categoryTableXYDataSet)
           
protected  void appendTooltipSuffix(StringBuffer tooltip, BuildResultsSummary buildResultsSummary)
           
protected  JFreeChart generateChart(CategoryTableXYDataset dataSet)
           
 Map generateChartParams()
           
 String generateToolTip(XYDataset dataset, int row, int column)
           
 String generateURL(XYDataset dataset, int row, int column)
           
 Build getBuild()
           
protected  JFreeChart getChart()
           
 List getFilteredResults()
           
 void setBuild(Build build)
           
 void setFilteredResults(List filteredResults)
           
 
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
 

Field Detail

build

protected Build build

filteredResults

protected List filteredResults

buildResults

protected Map buildResults
Constructor Detail

BuildTimesChart

public BuildTimesChart(int height,
                       int width,
                       String chartTitle,
                       String xAxisLabel,
                       String yAxisLabel,
                       Build build,
                       List filteredResults)
Method Detail

appendTooltipSuffix

protected void appendTooltipSuffix(StringBuffer tooltip,
                                   BuildResultsSummary buildResultsSummary)

addDataSet

protected void addDataSet(BuildResultsSummary buildResultsSummary,
                          CategoryTableXYDataset categoryTableXYDataSet)

generateChart

protected JFreeChart generateChart(CategoryTableXYDataset dataSet)

generateToolTip

public String generateToolTip(XYDataset dataset,
                              int row,
                              int column)

generateURL

public String generateURL(XYDataset dataset,
                          int row,
                          int column)

generateChartParams

public Map generateChartParams()

getChart

protected JFreeChart getChart()

getBuild

public Build getBuild()

setBuild

public void setBuild(Build build)

getFilteredResults

public List getFilteredResults()

setFilteredResults

public void setFilteredResults(List filteredResults)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.