com.pyxis.greenhopper.charts.issuetracking
Class AbstractCumulativeFlow

java.lang.Object
  extended by com.pyxis.greenhopper.charts.CurveChart
      extended by com.pyxis.greenhopper.charts.issuetracking.AbstractCumulativeFlow
All Implemented Interfaces:
Chart
Direct Known Subclasses:
StateCumulativeFlow, TBCumulativeFlow

public abstract class AbstractCumulativeFlow
extends CurveChart


Nested Class Summary
protected  class AbstractCumulativeFlow.FlowCurveComparator
           
 
Field Summary
 
Fields inherited from class com.pyxis.greenhopper.charts.CurveChart
chartContext, workingDaysPerWeek
 
Constructor Summary
AbstractCumulativeFlow(ChartContext chartContext)
           
 
Method Summary
 org.jfree.chart.JFreeChart buildChart()
           
protected  com.atlassian.jira.issue.status.Status getInitialStatus(com.atlassian.jira.issue.Issue issue)
           
 java.lang.String getTitle()
           
 int getTotalNumberOfDays()
          Default implementation returns number of days in sprint.
 java.lang.String getXTitle()
           
 java.lang.String getYTitle()
           
 boolean isForecastLegendShown()
           
 boolean isJFreeChartSupported()
           
 boolean isReportSupported()
           
 
Methods inherited from class com.pyxis.greenhopper.charts.CurveChart
buildCSVReport, canForecast, computeForecast, computeOnGoing, createTimeMap, flatten, forecastStartPoint, getCompletedDays, getDay, getDayAxisLabel, getDaysVsDatesMapping, getEndDate, getPreviousDate, getRatioCurve, getSettings, getWorkedDays, isClosed, isDateAxisAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.pyxis.greenhopper.charts.Chart
computeCurves, getDefaultSettings
 

Constructor Detail

AbstractCumulativeFlow

public AbstractCumulativeFlow(ChartContext chartContext)
Method Detail

buildChart

public org.jfree.chart.JFreeChart buildChart()
Specified by:
buildChart in interface Chart
Overrides:
buildChart in class CurveChart

getTotalNumberOfDays

public int getTotalNumberOfDays()
Description copied from class: CurveChart
Default implementation returns number of days in sprint. Overridden by cumulative flow chart to only return days until today (so that the chart always fills up the full width)

Overrides:
getTotalNumberOfDays in class CurveChart

getTitle

public java.lang.String getTitle()

getXTitle

public java.lang.String getXTitle()

getYTitle

public java.lang.String getYTitle()

isForecastLegendShown

public boolean isForecastLegendShown()
Specified by:
isForecastLegendShown in interface Chart
Overrides:
isForecastLegendShown in class CurveChart

isJFreeChartSupported

public boolean isJFreeChartSupported()

isReportSupported

public boolean isReportSupported()

getInitialStatus

protected com.atlassian.jira.issue.status.Status getInitialStatus(com.atlassian.jira.issue.Issue issue)


Copyright © 2007-2012 Atlassian. All Rights Reserved.