com.atlassian.bamboo.charts
Class BuildTimesChart
java.lang.Object
com.atlassian.bamboo.charts.AbstractBambooChart
com.atlassian.bamboo.charts.BuildTimesChart
- All Implemented Interfaces:
- ChartBuilder, org.jfree.chart.labels.XYToolTipGenerator, org.jfree.chart.urls.XYURLGenerator
public class BuildTimesChart
- extends AbstractBambooChart
- implements org.jfree.chart.labels.XYToolTipGenerator, org.jfree.chart.urls.XYURLGenerator
Constructor Summary |
BuildTimesChart(int height,
int width,
java.lang.String chartTitle,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
PlanIdentifier plan,
java.util.List<? extends ResultsSummary> filteredResults,
java.lang.String seriesLabel)
|
Method Summary |
protected void |
addDataSet(ResultsSummary resultsSummary,
org.jfree.data.xy.CategoryTableXYDataset categoryTableXYDataSet)
|
protected void |
appendTooltipSuffix(java.lang.StringBuffer tooltip,
ResultsSummary buildResultsSummary)
|
protected org.jfree.chart.JFreeChart |
generateChart(org.jfree.data.xy.CategoryTableXYDataset dataSet)
|
java.util.Map<java.lang.String,java.lang.Object> |
generateChartParams()
|
java.lang.String |
generateToolTip(org.jfree.data.xy.XYDataset dataset,
int row,
int column)
|
java.lang.String |
generateURL(org.jfree.data.xy.XYDataset dataset,
int row,
int column)
|
protected org.jfree.chart.JFreeChart |
getChart()
|
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 |
plan
protected final PlanIdentifier plan
filteredResults
protected final java.util.List<ResultsSummary> filteredResults
buildResults
protected java.util.Map<java.lang.Integer,ResultsSummary> buildResults
BuildTimesChart
public BuildTimesChart(int height,
int width,
java.lang.String chartTitle,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
@NotNull
PlanIdentifier plan,
@NotNull
java.util.List<? extends ResultsSummary> filteredResults,
@NotNull
java.lang.String seriesLabel)
appendTooltipSuffix
protected void appendTooltipSuffix(java.lang.StringBuffer tooltip,
ResultsSummary buildResultsSummary)
addDataSet
protected void addDataSet(ResultsSummary resultsSummary,
org.jfree.data.xy.CategoryTableXYDataset categoryTableXYDataSet)
generateChart
protected org.jfree.chart.JFreeChart generateChart(org.jfree.data.xy.CategoryTableXYDataset dataSet)
generateToolTip
public java.lang.String generateToolTip(org.jfree.data.xy.XYDataset dataset,
int row,
int column)
- Specified by:
generateToolTip
in interface org.jfree.chart.labels.XYToolTipGenerator
generateURL
public java.lang.String generateURL(org.jfree.data.xy.XYDataset dataset,
int row,
int column)
- Specified by:
generateURL
in interface org.jfree.chart.urls.XYURLGenerator
generateChartParams
public java.util.Map<java.lang.String,java.lang.Object> generateChartParams()
- Specified by:
generateChartParams
in interface ChartBuilder
getChart
protected org.jfree.chart.JFreeChart getChart()
Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.