I’m writing integration with Zingchart from 1C. The goal is to write http service, which recieve chart config in JSON and send back image in base64 format.
Is there a way to get base64 on the server?
I used NodeJS. But, as I understand it, it can render chart only to png or jpeg files.
(i tried to render to canvas or svg to use getimagedata method but error “TypeError: Cannot read properties of undefined (reading ‘end’)” occured)
New contributor
Vaneg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.