com.atlassian.bamboo.reports.charts
Class BambooReportLineChart

java.lang.Object
  extended by com.atlassian.bamboo.charts.AbstractBambooChart
      extended by com.atlassian.bamboo.reports.charts.BambooReportLineChart
All Implemented Interfaces:
ChartBuilder, BambooPluginModule, org.jfree.chart.labels.XYSeriesLabelGenerator, org.jfree.chart.labels.XYToolTipGenerator
Direct Known Subclasses:
AgentUtilizationLineChart, AuthorBrokenBuildsLineChart, AuthorFailuresLineChart, AuthorFixedBuildsLineChart, AuthorNumberBuildsLineChart, AuthorSuccessRatioLineChart, BuildNumberCoverageLineChart, BuildSummaryAverageDurationLineChart, BuildSummaryAverageQueuedDurationLineChart, BuildSummaryAverageTimeToFixLineChart, BuildSummaryCoverageLineChart, BuildSummaryFailuresLineChart, BuildSummaryLinesOfCodeLineChart, BuildSummaryNumberBuildsLineChart, BuildSummaryNumberTestsLineChart, BuildSummarySuccessRatioLineChart

public class BambooReportLineChart
extends AbstractBambooChart
implements org.jfree.chart.labels.XYToolTipGenerator, org.jfree.chart.labels.XYSeriesLabelGenerator, BambooPluginModule


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
AbstractBambooChart.AutoRange, AbstractBambooChart.NotifyListeners
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
chartTitle, contextPath, height, shortUrlUsed, width, xAxisLabel, yAxisLabel
 
Constructor Summary
BambooReportLineChart()
           
BambooReportLineChart(int height, int width, java.lang.String chartTitle, java.lang.String xAxisLabel, java.lang.String yAxisLabel, org.jfree.data.xy.XYDataset dataSet)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> generateChartParams()
           
 java.lang.String generateLabel(org.jfree.data.xy.XYDataset xyDataset, int i)
           
 java.lang.String generateToolTip(org.jfree.data.xy.XYDataset xyDataset, int series, int item)
           
 BuildManager getBuildManager()
           
 org.jfree.data.xy.XYDataset getDataSet()
           
 org.jfree.chart.JFreeChart getJFreeChart()
           
 void setBuildManager(BuildManager buildManager)
           
 void setDataSet(org.jfree.data.xy.XYDataset dataSet)
           
 
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
 

Constructor Detail

BambooReportLineChart

public BambooReportLineChart()

BambooReportLineChart

public BambooReportLineChart(int height,
                             int width,
                             java.lang.String chartTitle,
                             java.lang.String xAxisLabel,
                             java.lang.String yAxisLabel,
                             org.jfree.data.xy.XYDataset dataSet)
Method Detail

generateChartParams

public java.util.Map<java.lang.String,java.lang.Object> generateChartParams()
Specified by:
generateChartParams in interface ChartBuilder

getJFreeChart

public org.jfree.chart.JFreeChart getJFreeChart()

generateToolTip

public java.lang.String generateToolTip(org.jfree.data.xy.XYDataset xyDataset,
                                        int series,
                                        int item)
Specified by:
generateToolTip in interface org.jfree.chart.labels.XYToolTipGenerator

getDataSet

public org.jfree.data.xy.XYDataset getDataSet()

setDataSet

public void setDataSet(org.jfree.data.xy.XYDataset dataSet)

getBuildManager

public BuildManager getBuildManager()

setBuildManager

public void setBuildManager(BuildManager buildManager)

generateLabel

public java.lang.String generateLabel(org.jfree.data.xy.XYDataset xyDataset,
                                      int i)
Specified by:
generateLabel in interface org.jfree.chart.labels.XYSeriesLabelGenerator


Copyright © 2010 Atlassian. All Rights Reserved.