Package org.jCharts.encoders
Class SVGEncoder
java.lang.Object
org.jCharts.encoders.SVGEncoder
This class REQUIRES the Apache XML Batik libraries to run.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final void
encode
(Chart chart, OutputStream outputStream) Encodes the Chart to an OutputStream which can be a file or any other OutputStream implementation.
-
Constructor Details
-
SVGEncoder
- Throws:
Exception
-
-
Method Details
-
encode
public static final void encode(Chart chart, OutputStream outputStream) throws ChartDataException, PropertyException, IOException Encodes the Chart to an OutputStream which can be a file or any other OutputStream implementation.- Parameters:
chart
-outputStream
-- Throws:
ChartDataException
PropertyException
IOException
-