Package com.atlassian.bamboo.charts
Class AbstractBambooChart
java.lang.Object
com.atlassian.bamboo.charts.AbstractBambooChart
- All Implemented Interfaces:
ChartBuilder
- Direct Known Subclasses:
AbstractTimePeriodGroupedChart,AuthorNumberBuildsBarChart,BambooReportLineChart,BuildFailuresChart,BuildTimesChart,CombinedBuildSummaryByBuildChart,CombinedBuildSummaryByTimeChart,TestCaseBuildTimesChart
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static enumprotected static enum -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractBambooChart(int height, int width, String chartTitle, String xAxisLabel, String yAxisLabel) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureDurationRangeAxis(@NotNull org.jfree.chart.JFreeChart chart, @NotNull AbstractBambooChart.AutoRange autoRange) Helper method to display "nice" durations rather than just in secondsprotected voidconfigureDurationRangeAxis(org.jfree.chart.JFreeChart chart) protected voidconfigureDurationRangeAxisForSeconds(org.jfree.chart.JFreeChart chart) generateChartImage(@NotNull org.jfree.chart.JFreeChart chart) generateChartImage(@NotNull org.jfree.chart.JFreeChart chart, @NotNull Map<String, Object> params) protected StringintintgetWidth()booleanvoidsetChartTitle(String chartTitle) voidsetContextPath(String contextPath) voidsetHeight(int height) voidsetShortUrlUsed(boolean shortUrlUsed) voidsetWidth(int width) voidsetxAxisLabel(String xAxisLabel) voidsetyAxisLabel(String yAxisLabel) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.charts.ChartBuilder
generateChartParams
-
Field Details
-
height
protected int height -
width
protected int width -
chartTitle
-
xAxisLabel
-
yAxisLabel
-
contextPath
-
shortUrlUsed
protected boolean shortUrlUsed
-
-
Constructor Details
-
AbstractBambooChart
protected AbstractBambooChart() -
AbstractBambooChart
-
-
Method Details
-
generateChartImage
-
generateRandomMapName
-
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
getChartTitle
-
setChartTitle
-
getxAxisLabel
-
setxAxisLabel
-
getyAxisLabel
-
setyAxisLabel
-
getContextPath
-
setContextPath
-
isShortUrlUsed
public boolean isShortUrlUsed() -
setShortUrlUsed
public void setShortUrlUsed(boolean shortUrlUsed) -
generateChartImage
-
configureDurationRangeAxis
protected void configureDurationRangeAxis(@NotNull @NotNull org.jfree.chart.JFreeChart chart, @NotNull @NotNull 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)
-