Export to SVG file?

As the title says. I’m wondering whether there’s a way to export Data2Viz/Charts.kt charts to a vector file. Preferably for the JVM version.

Edit: I did find the node.snapshot() functionality of JavaFX which helps, but a way to export to SVG would still be a huge benefit.

There is currently no implementation of such an export.

The only beginning of that is a property PathGeom.svgPath. However the implementation as an extension of Viz shouldn’t be too complicated.

Feel free to create an issue and possibly propose a pull request.

1 Like