xml - Export ChartFX7 to SVG in Java -
can give example of exporting chartfx7 chart svg?
i've tried:
bytearrayoutputstream baos = new bytearrayoutputstream(); m_chart.setoutputwriter(new svgwriter()); m_chart.exportchart(fileformat.external, baos);, :
bytearrayoutputstream baos = new bytearrayoutputstream(); m_chart.setrenderformat("svg"); m_chart.rendertostream();both result in null pointer exception.
the following outputs xml:
fileoutputstream fos = new fileoutputstream(debug.getinstance().createexternalfile("chart.xml")); m_chart.exportchart(fileformat.xml, fos);
batik libary can import java libary convert or create svg images. dont know chartfx7 standard way create svg in java.
Comments
Post a Comment