0👍
✅
Worked it out.
lineToNextPoint() became obsolete and the lineTo() helper can be used.
So…
Chart.elements.Line.prototype.lineToNextPoint.apply({
_chart: {
ctx: ctx
}
}, [previous, point, next, null, null])
…is replaced with:
helpers.canvas.lineTo(ctx, previous._view, point._view);
Source:stackexchange.com