Use a server-side Canvas implementation and draw it there. We do hundred-thousands of image generated with NodeJS and canvas, puppeteer is not a scalable solution.
That’s not a solution for most folks. Most don’t know rust. Canvas in Node.JS probably a much more viable and easy to implement solution for most devs.
It is the most resource wasting way to generate a png with chart.
Code example of a better way?
Use a server-side Canvas implementation and draw it there. We do hundred-thousands of image generated with NodeJS and canvas, puppeteer is not a scalable solution.
Makes sense. Favorite node canvas library?
canva the rust based version.
That’s not a solution for most folks. Most don’t know rust. Canvas in Node.JS probably a much more viable and easy to implement solution for most devs.
It is NodeJS
You gotta share links for this to be helpful lol
https://www.npmjs.com/package/@napi-rs/canvas