Hello! It can not support Path2D when draw in node canvas. What should I do?
The script is here:
Chart.js\src\elements\element.line.js
let path = me._path;
if (!path) {
// node env can not support Path2D,
path = me._path = new Path2D();
if (me.path(path, start, count)) {
path.closePath();
}
}