Slightly off topic but does anyone work with server generated charts at all? Or is there not much demand for pdf reports?
Last I checked, converting Javascript charts to PNG is still a hacky/convoluted process.
Last I checked, converting Javascript charts to PNG is still a hacky/convoluted process.
SVG is a lot more finicky, but I've used React to generate SVG that imagemagick can then rasterize. If you limit yourself to primitives, you can have an interactive React UI and be able to render any state snapshot to .svg, .jpg, and/or .png.
I think things just get tricky if you want to use a browser-only library or something that mixes canvas, svg, and/or html+css.