com.atlassian.bamboo.charts
Class AbstractBambooChart
java.lang.Object
com.atlassian.bamboo.charts.AbstractBambooChart
- All Implemented Interfaces:
- ChartBuilder
- Direct Known Subclasses:
- AbstractTimePeriodGroupedChart, BambooReportLineChart, BuildFailuresChart, BuildTimesChart, CombinedBuildSummaryByBuildChart, CombinedBuildSummaryByTimeChart, TestCaseBuildTimesChart
public abstract class AbstractBambooChart
- extends java.lang.Object
- implements ChartBuilder
Constructor Summary |
protected |
AbstractBambooChart()
|
protected |
AbstractBambooChart(int height,
int width,
java.lang.String chartTitle,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
height
protected int height
width
protected int width
chartTitle
protected java.lang.String chartTitle
xAxisLabel
protected java.lang.String xAxisLabel
yAxisLabel
protected java.lang.String yAxisLabel
contextPath
protected java.lang.String contextPath
shortUrlUsed
protected boolean shortUrlUsed
AbstractBambooChart
protected AbstractBambooChart()
AbstractBambooChart
protected AbstractBambooChart(int height,
int width,
java.lang.String chartTitle,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel)
generateChartImage
protected java.util.Map<java.lang.String,java.lang.Object> generateChartImage(org.jfree.chart.JFreeChart chart,
java.util.Map<java.lang.String,java.lang.Object> params)
generateRandomMapName
protected java.lang.String generateRandomMapName()
getHeight
public int getHeight()
setHeight
public void setHeight(int height)
getWidth
public int getWidth()
setWidth
public void setWidth(int width)
getChartTitle
public java.lang.String getChartTitle()
setChartTitle
public void setChartTitle(java.lang.String chartTitle)
getxAxisLabel
public java.lang.String getxAxisLabel()
setxAxisLabel
public void setxAxisLabel(java.lang.String xAxisLabel)
getyAxisLabel
public java.lang.String getyAxisLabel()
setyAxisLabel
public void setyAxisLabel(java.lang.String yAxisLabel)
getContextPath
public java.lang.String getContextPath()
setContextPath
public void setContextPath(java.lang.String contextPath)
isShortUrlUsed
public boolean isShortUrlUsed()
setShortUrlUsed
public void setShortUrlUsed(boolean shortUrlUsed)
generateChartImage
protected java.util.Map<java.lang.String,java.lang.Object> generateChartImage(@NotNull
org.jfree.chart.JFreeChart chart)
configureDurationRangeAxis
protected void configureDurationRangeAxis(org.jfree.chart.JFreeChart chart,
AbstractBambooChart.AutoRange autoRange)
- Helper method to display "nice" durations rather than just in seconds
- Parameters:
chart
- chart to change the duration
autoRange - autorange setting for absolute duration display
configureDurationRangeAxis
protected void configureDurationRangeAxis(org.jfree.chart.JFreeChart chart)
configureDurationRangeAxisForSeconds
protected void configureDurationRangeAxisForSeconds(org.jfree.chart.JFreeChart chart)
Copyright © 2011 Atlassian. All Rights Reserved.