Hello dear developers.
I faced the following problem. I must save the chart in PNG or PDF format. If I export directly from canvas to image or PDF, I lose all the icons(SVG) on the chart that I use for visualization. Icons are stored locally in the file format SVG. When exporting from canvas to SVG file, icons are saved.
I would also like to note that in the introduction of GO JS there is a disclaimer about this function, but there is no example of its use. https://gojs.net/latest/intro/makingSVG.html “SVG export can be useful as content for a PDF. Most GoJS users who create PDFs do so by exporting Diagrams to SVG or images and place that content in their PDFs, on the server or elsewhere.”
If you have any resolves, I’ll be happy to hear them.