public abstract class AbstractChartContext extends Object implements ChartContext
Modifier and Type | Field and Description |
---|---|
protected Chart |
chart |
protected Date |
endDate |
protected String |
location |
static org.apache.log4j.Logger |
log |
protected Set<String> |
selectableCharts |
protected Date |
startDate |
Constructor and Description |
---|
AbstractChartContext() |
Modifier and Type | Method and Description |
---|---|
CurveSettings |
curveSetting(String curveId) |
double |
getAverageValue(Double sumValue) |
abstract ChartBoard |
getBoard() |
Chart |
getChart() |
String |
getChartLocation() |
String |
getCSVReport() |
GreenHopper |
getGreenHopperService() |
int |
getHeight() |
protected com.atlassian.jira.issue.link.IssueLinkManager |
getIssueLinkManager() |
org.jfree.chart.JFreeChart |
getJFreeChart() |
double |
getOriginalValue() |
Set<String> |
getSelectableChartTypes() |
String |
getSettingsId() |
Date |
getStartDateEndOfDay() |
com.atlassian.jira.timezone.TimeZoneInfo |
getTimeZoneInfo() |
double |
getTotalValue() |
int |
getWidth() |
double |
roundUp(double value) |
boolean |
saveChartAndReport() |
boolean |
showAverage() |
double |
toHours(long value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
axisAsDates, endDate, filter, getAllIssues, getAllReportableFields, getAllStatuses, getChartType, getDataDirectory, getField, getIssuesGroupedByChildren, getRankingFields, getSettings, getSummary, getText, getText, isDone, isDone, isForMaster, isWithForecast, nonWorkingDates, precision, startDate, stripped, withLabels, withLegend, withTitle
public static final org.apache.log4j.Logger log
protected Chart chart
protected Date startDate
protected Date endDate
protected String location
public GreenHopper getGreenHopperService()
getGreenHopperService
in interface ChartContext
public Chart getChart()
getChart
in interface ChartContext
public Set<String> getSelectableChartTypes()
getSelectableChartTypes
in interface ChartContext
public org.jfree.chart.JFreeChart getJFreeChart()
getJFreeChart
in interface ChartContext
public String getCSVReport()
getCSVReport
in interface ChartContext
public double getOriginalValue()
getOriginalValue
in interface ChartContext
public double getTotalValue()
getTotalValue
in interface ChartContext
public CurveSettings curveSetting(String curveId)
curveSetting
in interface ChartContext
public String getSettingsId()
getSettingsId
in interface ChartContext
public boolean saveChartAndReport() throws IOException
saveChartAndReport
in interface ChartContext
IOException
public double getAverageValue(Double sumValue)
getAverageValue
in interface ChartContext
public double toHours(long value)
toHours
in interface ChartContext
public double roundUp(double value)
roundUp
in interface ChartContext
public boolean showAverage()
showAverage
in interface ChartContext
public Date getStartDateEndOfDay()
getStartDateEndOfDay
in interface ChartContext
public String getChartLocation()
getChartLocation
in interface ChartContext
public int getWidth()
getWidth
in interface ChartContext
public int getHeight()
getHeight
in interface ChartContext
public abstract ChartBoard getBoard()
protected com.atlassian.jira.issue.link.IssueLinkManager getIssueLinkManager()
public com.atlassian.jira.timezone.TimeZoneInfo getTimeZoneInfo()
getTimeZoneInfo
in interface ChartContext
Copyright © 2007–2015 Atlassian. All rights reserved.