Skip to content

It can not support Path2D when draw in node canvas. #8366

Description

@saberjsd

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions