Merge pull request #322 from dod-ccpo/fix-budget-chart-projection-line

Fix budget chart projection line
This commit is contained in:
andrewdds
2018-09-25 08:25:41 -04:00
committed by GitHub

View File

@@ -75,7 +75,8 @@ export default {
this.spendPath += this.spendPath === '' ? 'M' : ' L' this.spendPath += this.spendPath === '' ? 'M' : ' L'
this.spendPath += cumulativePoint this.spendPath += cumulativePoint
lastSpendPoint = cumulativePoint lastSpendPoint = cumulativePoint
} else {
} else if (lastSpendPoint !== '') {
this.projectedPath += this.projectedPath === '' ? `M${lastSpendPoint} L` : ' L' this.projectedPath += this.projectedPath === '' ? `M${lastSpendPoint} L` : ' L'
this.projectedPath += cumulativePoint this.projectedPath += cumulativePoint
} }