diff --git a/public/js/ff/charts.js b/public/js/ff/charts.js index a67009b729..aa01a761fd 100644 --- a/public/js/ff/charts.js +++ b/public/js/ff/charts.js @@ -88,7 +88,9 @@ const verticalLinePlugin = { afterDatasetsDraw: function (chart, easing) { if (chart.config.lineAtIndex) { - chart.config.lineAtIndex.forEach(pointIndex => this.renderVerticalLine(chart, pointIndex)); + chart.config.lineAtIndex.forEach(function(pointIndex) { + this.renderVerticalLine(chart, pointIndex); + }, this); } } };