Class BambooReportLineChart
- java.lang.Object
-
- com.atlassian.bamboo.charts.AbstractBambooChart
-
- 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
,BuildSummaryCodeLinesLineChart
,BuildSummaryCoverageLineChart
,BuildSummaryFailureRatioWithLabelUsageLineChart
,BuildSummaryFailuresLineChart
,BuildSummaryLabelUsageCountLineChart
,BuildSummaryLabelUsageRatioLineChart
,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 Modifier and Type Field Description protected CachedPlanManager
cachedPlanManager
protected org.jfree.data.xy.XYDataset
dataSet
protected ResultsSummaryManager
resultsSummaryManager
-
Fields inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
chartTitle, contextPath, height, shortUrlUsed, width, xAxisLabel, yAxisLabel
-
-
Constructor Summary
Constructors Constructor Description BambooReportLineChart()
BambooReportLineChart(int height, int width, String chartTitle, String xAxisLabel, String yAxisLabel, org.jfree.data.xy.XYDataset dataSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
generateChartParams()
String
generateLabel(org.jfree.data.xy.XYDataset xyDataset, int i)
String
generateToolTip(org.jfree.data.xy.XYDataset xyDataset, int series, int item)
org.jfree.data.xy.XYDataset
getDataSet()
org.jfree.chart.JFreeChart
getJFreeChart()
ResultsSummaryManager
getResultsSummaryManager()
void
setCachedPlanManager(CachedPlanManager cachedPlanManager)
void
setDataSet(org.jfree.data.xy.XYDataset dataSet)
void
setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
-
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
-
-
-
-
Field Detail
-
dataSet
protected org.jfree.data.xy.XYDataset dataSet
-
cachedPlanManager
protected CachedPlanManager cachedPlanManager
-
resultsSummaryManager
protected ResultsSummaryManager resultsSummaryManager
-
-
Method Detail
-
generateChartParams
public Map<String,Object> generateChartParams()
- Specified by:
generateChartParams
in interfaceChartBuilder
-
getJFreeChart
public org.jfree.chart.JFreeChart getJFreeChart()
-
generateToolTip
public String generateToolTip(org.jfree.data.xy.XYDataset xyDataset, int series, int item)
- Specified by:
generateToolTip
in interfaceorg.jfree.chart.labels.XYToolTipGenerator
-
getDataSet
public org.jfree.data.xy.XYDataset getDataSet()
-
setDataSet
public void setDataSet(org.jfree.data.xy.XYDataset dataSet)
-
setCachedPlanManager
public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
-
getResultsSummaryManager
public ResultsSummaryManager getResultsSummaryManager()
-
setResultsSummaryManager
public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
-
generateLabel
public String generateLabel(org.jfree.data.xy.XYDataset xyDataset, int i)
- Specified by:
generateLabel
in interfaceorg.jfree.chart.labels.XYSeriesLabelGenerator
-
-