Hello,
I'm using canvas.getContext('2d') as a context for displaying a voronoi diagram.
But when I call voronoi.render([context]) the following error comes up :
"TypeError: context.moveTo is not a function"
How can I use d3-delaunay API without creating my own context ?
Hello, I'm using canvas.getContext('2d') as a context for displaying a voronoi diagram. But when I call voronoi.render([context]) the following error comes up : "TypeError: context.moveTo is not a function" How can I use d3-delaunay API without creating my own context ?
here is my code:
thanks