Merge pull request #1107 from devlearner/patch-1

Fix charts in Internet Explorer
This commit is contained in:
James Cole
2018-01-08 10:21:09 +01:00
committed by GitHub

View File

@@ -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);
}
}
};