score:0

Accepted answer

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

Related Query

More Query from same tag