Package com.atlassian.jira.web.bean
Class PercentageGraphModel
java.lang.Object
com.atlassian.jira.web.bean.PercentageGraphModel
-
Constructor Details
-
PercentageGraphModel
public PercentageGraphModel()
-
-
Method Details
-
addRow
-
addRow
-
getRows
-
getPercentage
Use to get the percentage of a particular row.
If the percentage calculated is not a whole number it is rounded down. An exception is the last row for which the percentage is calculated as a remainder to 100 (percent).- Parameters:
row
- row to get the width percentage for- Returns:
- percentage for the given row
-
getTotal
public long getTotal() -
isTotalZero
public boolean isTotalZero()
-