diff --git a/js/components/charts/budget_chart.js b/js/components/charts/budget_chart.js index d4ea7a96..a645acdc 100644 --- a/js/components/charts/budget_chart.js +++ b/js/components/charts/budget_chart.js @@ -75,7 +75,8 @@ export default { this.spendPath += this.spendPath === '' ? 'M' : ' L' this.spendPath += cumulativePoint lastSpendPoint = cumulativePoint - } else { + + } else if (lastSpendPoint !== '') { this.projectedPath += this.projectedPath === '' ? `M${lastSpendPoint} L` : ' L' this.projectedPath += cumulativePoint }