public abstract class AbstractBambooChart extends Object implements ChartBuilder
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractBambooChart.AutoRange |
protected static class |
AbstractBambooChart.NotifyListeners |
Modifier and Type | Field and Description |
---|---|
protected String |
chartTitle |
protected String |
contextPath |
protected int |
height |
protected boolean |
shortUrlUsed |
protected int |
width |
protected String |
xAxisLabel |
protected String |
yAxisLabel |
Modifier | Constructor and Description |
---|---|
protected |
AbstractBambooChart() |
protected |
AbstractBambooChart(int height,
int width,
String chartTitle,
String xAxisLabel,
String yAxisLabel) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureDurationRangeAxis(org.jfree.chart.JFreeChart chart) |
protected void |
configureDurationRangeAxis(org.jfree.chart.JFreeChart chart,
AbstractBambooChart.AutoRange autoRange)
Helper method to display "nice" durations rather than just in seconds
|
protected void |
configureDurationRangeAxisForSeconds(org.jfree.chart.JFreeChart chart) |
protected Map<String,Object> |
generateChartImage(org.jfree.chart.JFreeChart chart) |
protected Map<String,Object> |
generateChartImage(org.jfree.chart.JFreeChart chart,
Map<String,Object> params) |
protected String |
generateRandomMapName() |
String |
getChartTitle() |
String |
getContextPath() |
int |
getHeight() |
int |
getWidth() |
String |
getxAxisLabel() |
String |
getyAxisLabel() |
boolean |
isShortUrlUsed() |
void |
setChartTitle(String chartTitle) |
void |
setContextPath(String contextPath) |
void |
setHeight(int height) |
void |
setShortUrlUsed(boolean shortUrlUsed) |
void |
setWidth(int width) |
void |
setxAxisLabel(String xAxisLabel) |
void |
setyAxisLabel(String yAxisLabel) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateChartParams
protected int height
protected int width
protected String chartTitle
protected String xAxisLabel
protected String yAxisLabel
protected String contextPath
protected boolean shortUrlUsed
@NotNull protected Map<String,Object> generateChartImage(@NotNull org.jfree.chart.JFreeChart chart, @NotNull Map<String,Object> params)
protected String generateRandomMapName()
public int getHeight()
public void setHeight(int height)
public int getWidth()
public void setWidth(int width)
public String getChartTitle()
public void setChartTitle(String chartTitle)
public String getxAxisLabel()
public void setxAxisLabel(String xAxisLabel)
public String getyAxisLabel()
public void setyAxisLabel(String yAxisLabel)
public String getContextPath()
public void setContextPath(String contextPath)
public boolean isShortUrlUsed()
public void setShortUrlUsed(boolean shortUrlUsed)
@NotNull protected Map<String,Object> generateChartImage(@NotNull org.jfree.chart.JFreeChart chart)
protected void configureDurationRangeAxis(@NotNull org.jfree.chart.JFreeChart chart, @NotNull AbstractBambooChart.AutoRange autoRange)
chart
- chart to change the duration
autoRange - autorange setting for absolute duration displayprotected void configureDurationRangeAxis(org.jfree.chart.JFreeChart chart)
protected void configureDurationRangeAxisForSeconds(org.jfree.chart.JFreeChart chart)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.