Package org.jCharts.encoders
Class PNGEncoder
java.lang.Object
org.jCharts.encoders.PNGEncoder
This class REQUIRES the jdk 1.4
-
Field Summary
Fields -
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.
-
Field Details
-
PNG
- See Also:
-
-
Constructor Details
-
PNGEncoder
- 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
-